Skip to content

Commit

Permalink
Remove working directory from user arguments (#925)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrchtr authored Apr 8, 2024
1 parent 92ef1fe commit fd1cea8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions src/fondant/component/executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ def from_spec(
"cache",
"consumes",
"produces",
"working_directory",
]:
args_dict.pop(argument, None)

Expand Down
1 change: 0 additions & 1 deletion tests/component/test_component.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,6 @@ def _process_dataset(self, manifest: Manifest) -> t.Union[None, dd.DataFrame]:
assert executor.input_partition_rows == expected_partition_row_arg
assert executor.cache is True
assert executor.user_arguments == {
"working_directory": "/foo/bar",
"integer_default_arg": 0,
"float_default_arg": 3.14,
"bool_false_default_arg": False,
Expand Down

0 comments on commit fd1cea8

Please sign in to comment.