Skip to content

Commit 900694e

Browse files
donghanigorborgest
authored andcommitted
Update _copy.py
1 parent aaf0558 commit 900694e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

awswrangler/s3/_copy.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
_logger: logging.Logger = logging.getLogger(__name__)
1414

1515

16-
def _copy_objects(batch: List[Tuple[str, str]], s3_additional_kwargs: Optional[Dict[str, str]], use_threads: bool, boto3_session: boto3.Session) -> None:
16+
def _copy_objects(batch: List[Tuple[str, str]], use_threads: bool, boto3_session: boto3.Session, s3_additional_kwargs: Optional[Dict[str, str]]) -> None:
1717
_logger.debug("len(batch): %s", len(batch))
1818
client_s3: boto3.client = _utils.client(service_name="s3", session=boto3_session)
1919
resource_s3: boto3.resource = _utils.resource(service_name="s3", session=boto3_session)
@@ -125,9 +125,9 @@ def copy_objects(
125125
source_path: str,
126126
target_path: str,
127127
replace_filenames: Optional[Dict[str, str]] = None,
128-
s3_additional_kwargs: Optional[Dict[str, str]] = None,
129128
use_threads: bool = True,
130129
boto3_session: Optional[boto3.Session] = None,
130+
s3_additional_kwargs: Optional[Dict[str, str]] = None,
131131
) -> List[str]:
132132
"""Copy a list of S3 objects to another S3 directory.
133133

0 commit comments

Comments
 (0)