diff --git a/src/engine/src/core/tasks/executors/Function.py b/src/engine/src/core/tasks/executors/Function.py index fca0c67c..464d8294 100644 --- a/src/engine/src/core/tasks/executors/Function.py +++ b/src/engine/src/core/tasks/executors/Function.py @@ -225,7 +225,6 @@ def _setup_python_container(self): value=os.path.join(self.task.container_exec_dir, self.task.entrypoint.lstrip("/")) ) - self._write_entrypoint_file(local_entrypoint_file_path, self.task.code) # Create requirements file that will be mounted into the functions container diff --git a/src/engine/src/helpers/function_bootstrap.py b/src/engine/src/helpers/function_bootstrap.py index 467efe0e..617464b4 100644 --- a/src/engine/src/helpers/function_bootstrap.py +++ b/src/engine/src/helpers/function_bootstrap.py @@ -2,4 +2,4 @@ sys.path.append("/mnt/open-workflow-engine/pipeline/task/src/owe_python_sdk") -exec(open(os.envrion.get("_OWE_ENTRYPOINT_FILE_PATH")).read()) \ No newline at end of file +exec(open(os.environ.get("_OWE_ENTRYPOINT_FILE_PATH")).read()) \ No newline at end of file