Skip to content

Commit

Permalink
pass along put_options
Browse files Browse the repository at this point in the history
  • Loading branch information
drernie committed Dec 27, 2024
1 parent a660015 commit ec0ae9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/python/quilt3/data_transfer.py
Original file line number Diff line number Diff line change
Expand Up @@ -895,7 +895,7 @@ def copy_file_list(file_list, message=None, callback=None, put_options=None):
if _looks_like_dir(src) or _looks_like_dir(dest):
raise ValueError("Directories are not allowed")

return _copy_file_list_internal(file_list, [None] * len(file_list), message, callback, put_options=None)
return _copy_file_list_internal(file_list, [None] * len(file_list), message, callback, put_options=put_options)


def copy_file(src: PhysicalKey, dest: PhysicalKey, size=None, message=None, callback=None, put_options=None):
Expand Down Expand Up @@ -930,7 +930,7 @@ def sanity_check(rel_path):
src = PhysicalKey(src.bucket, src.path, version_id)
url_list.append((src, dest, size))

_copy_file_list_internal(url_list, [None] * len(url_list), message, callback, put_options=None)
_copy_file_list_internal(url_list, [None] * len(url_list), message, callback, put_options=put_options)


def put_bytes(data: bytes, dest: PhysicalKey, put_options=None):
Expand Down

0 comments on commit ec0ae9c

Please sign in to comment.