Skip to content

Commit 0c7402a

Browse files
author
Nuno Silva
committed
Fix missing kwargs injection on upload blob call
1 parent 47f6be2 commit 0c7402a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

adlfs/spec.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1413,7 +1413,10 @@ async def _pipe_file(self, path, value, overwrite=True, **kwargs):
14131413
container=container_name, blob=path
14141414
) as bc:
14151415
result = await bc.upload_blob(
1416-
data=value, overwrite=overwrite, metadata={"is_directory": "false"}
1416+
data=value,
1417+
overwrite=overwrite,
1418+
metadata={"is_directory": "false"},
1419+
**kwargs,
14171420
)
14181421
self.invalidate_cache(self._parent(path))
14191422
return result

0 commit comments

Comments
 (0)