diff --git a/openfl/experimental/workspace_builder/build.py b/openfl/experimental/workspace_builder/build.py index 5c421bad195..26d01f42b73 100644 --- a/openfl/experimental/workspace_builder/build.py +++ b/openfl/experimental/workspace_builder/build.py @@ -183,7 +183,7 @@ def __import_exported_script(self): import sys import importlib - sys.path.append(self.script_path.parent) + sys.path.append(str(self.script_path.parent)) self.exported_script_module = importlib.import_module(self.script_name) self.available_modules_in_exported_script = dir(self.exported_script_module) diff --git a/tests/github/experimental/testflow_datastore_cli.py b/tests/github/experimental/testflow_datastore_cli.py index 2d500f2e1be..370721ad877 100644 --- a/tests/github/experimental/testflow_datastore_cli.py +++ b/tests/github/experimental/testflow_datastore_cli.py @@ -91,6 +91,7 @@ class TestFlowDatastoreAndCli(FLSpec): """ Testflow for Dataflow and CLI Functionality """ + def __init__(self, model=None, optimizer=None, rounds=3, **kwargs): super().__init__(**kwargs) if model is not None: