Skip to content

Commit 1b6f892

Browse files
committed
Updated implementation of “overwrite_files”
1 parent cb7fb67 commit 1b6f892

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

awswrangler/s3/_write.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def _compose_filename_prefix_for_mode(*, mode: str, filename_prefix: str = None)
4747
if filename_prefix is None:
4848
filename_prefix = ""
4949
filename_prefix = filename_prefix + random_filename_suffix
50-
return filename_prefix, mode
50+
return mode, filename_prefix
5151

5252

5353
def _extract_dtypes_from_table_input(table_input: dict[str, Any]) -> dict[str, str]:

0 commit comments

Comments
 (0)