Skip to content

Commit 975fc90

Browse files
committed
fix: pass kwargs to upload_files in dataset
1 parent f9d97c1 commit 975fc90

File tree

1 file changed

+3
-1
lines changed
  • libs/foundry-dev-tools/src/foundry_dev_tools/resources

1 file changed

+3
-1
lines changed

libs/foundry-dev-tools/src/foundry_dev_tools/resources/dataset.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,9 @@ def upload_folder(
381381
"""
382382
kwargs.setdefault("transaction_type", "UPDATE")
383383
self.upload_files(
384-
{str(f.relative_to(folder_path)): f for f in folder_path.rglob("*") if f.is_file()}, max_workers=max_workers
384+
{str(f.relative_to(folder_path)): f for f in folder_path.rglob("*") if f.is_file()},
385+
max_workers=max_workers,
386+
**kwargs,
385387
)
386388
return self
387389

0 commit comments

Comments
 (0)