Skip to content

Commit

Permalink
operation: compression: Set operation name
Browse files Browse the repository at this point in the history
Signed-off-by: John Andersen <johnandersenpdx@gmail.com>
  • Loading branch information
pdxjohnny committed Jul 14, 2021
1 parent 97f39e9 commit 1d84c2e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dffml/operation/compression.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,15 @@ async def decompress(input_file_path: str, output_file_path: str):
)

compress = op(
name=f"{extension}_compress",
inputs={
"input_file_path": decompressed_file_path,
"output_file_path": compressed_file_path,
},
outputs={"output_path": compressed_output_file_path},
)(make_compress(extension, compression_cls))
decompress = op(
name=f"{extension}_decompress",
inputs={
"input_file_path": compressed_file_path,
"output_file_path": decompressed_file_path,
Expand Down

0 comments on commit 1d84c2e

Please sign in to comment.