Skip to content

Commit

Permalink
Minor refactor (PolusAI#242)
Browse files Browse the repository at this point in the history
  • Loading branch information
sameeul committed Jun 6, 2024
1 parent 9699f60 commit b40a3a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/scripts/when_pyapi.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from wic.api.pythonapi import Step, Workflow
from sophios.api.pythonapi import Step, Workflow


def workflow() -> Workflow:
Expand Down
2 changes: 1 addition & 1 deletion src/sophios/plugins.py
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ def get_py_paths(config: Json) -> Dict[str, Dict[str, Path]]:
def blindly_execute_python_workflows() -> None:
"""This function imports (read: blindly executes) all python files in 'search_paths_wic'
The python files are assumed to have a top-level workflow() function
which returns a wic.api.pythonapi.Workflow object.
which returns a sophios.api.pythonapi.Workflow object.
The python files should NOT call the .run() method!
(from any code path that is automatically executed on import)
"""
Expand Down

0 comments on commit b40a3a0

Please sign in to comment.