From b50be789a9368bb1d9b1105b9589f2be975b4f9d Mon Sep 17 00:00:00 2001 From: Nuno Silva Date: Tue, 31 Jan 2023 09:24:01 -0100 Subject: [PATCH] Fix missing kwargs injection on upload blob call --- adlfs/spec.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/adlfs/spec.py b/adlfs/spec.py index 25f495a0..8fff33e6 100644 --- a/adlfs/spec.py +++ b/adlfs/spec.py @@ -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