From 366606ce851c5acc1ad0cd8c4b9a0d7a313fe951 Mon Sep 17 00:00:00 2001 From: Matthias Richter Date: Fri, 5 Apr 2024 15:39:10 +0200 Subject: [PATCH] Remove working directory from user arguments --- src/fondant/component/executor.py | 1 + tests/component/test_component.py | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fondant/component/executor.py b/src/fondant/component/executor.py index 81c31fcd..af9c0797 100644 --- a/src/fondant/component/executor.py +++ b/src/fondant/component/executor.py @@ -117,6 +117,7 @@ def from_spec( "cache", "consumes", "produces", + "working_directory", ]: args_dict.pop(argument, None) diff --git a/tests/component/test_component.py b/tests/component/test_component.py index 8fa953f4..df980dc9 100644 --- a/tests/component/test_component.py +++ b/tests/component/test_component.py @@ -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,