Commit df127cd2 authored by BO ZHANG's avatar BO ZHANG 🏀
Browse files

print arguments

parent ca429894
Pipeline #11905 canceled with stage
in 0 seconds
...@@ -209,6 +209,7 @@ class Pipeline: ...@@ -209,6 +209,7 @@ class Pipeline:
@staticmethod @staticmethod
def dump_oss_file(rpath: str, lpath: str) -> str: def dump_oss_file(rpath: str, lpath: str) -> str:
"""Copy OSS file `file_src` to `file_dist`.""" """Copy OSS file `file_src` to `file_dist`."""
print(f"rpath={rpath}, lpath={lpath}")
s3_fs.get(rpath, lpath) s3_fs.get(rpath, lpath)
assert os.path.exists(lpath), f"Failed to dump OSS file {rpath} to {lpath}!" assert os.path.exists(lpath), f"Failed to dump OSS file {rpath} to {lpath}!"
return lpath return lpath
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment