Skip to content

Commit

Permalink
export path of task entrypoint dir in function bootstrap
Browse files Browse the repository at this point in the history
  • Loading branch information
nathandf committed Oct 27, 2023
1 parent a67f119 commit e96ca93
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/engine/src/helpers/function_bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@

if __name__ == "__main__":
sys.path.append("/mnt/open-workflow-engine/pipeline/task/src")
sys.path.append(os.path.dirname(os.environ.get("_OWE_ENTRYPOINT_FILE_PATH")))
os.chdir(os.path.dirname(os.environ.get("_OWE_ENTRYPOINT_FILE_PATH")))
exec(open(os.environ.get("_OWE_ENTRYPOINT_FILE_PATH")).read())

0 comments on commit e96ca93

Please sign in to comment.