Skip to content

Commit

Permalink
Fix missing kwargs injection on upload blob call
Browse files Browse the repository at this point in the history
  • Loading branch information
Nuno Silva committed Jan 31, 2023
1 parent 47f6be2 commit b50be78
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion adlfs/spec.py
Original file line number Diff line number Diff line change
Expand Up @@ -1413,7 +1413,10 @@ async def _pipe_file(self, path, value, overwrite=True, **kwargs):
container=container_name, blob=path
) as bc:
result = await bc.upload_blob(
data=value, overwrite=overwrite, metadata={"is_directory": "false"}
data=value,
overwrite=overwrite,
metadata={"is_directory": "false"},
**kwargs,
)
self.invalidate_cache(self._parent(path))
return result
Expand Down

0 comments on commit b50be78

Please sign in to comment.