How to import subflows #159
Unanswered
shenhai-ran
asked this question in
Q&A
Replies: 1 comment
-
Suppose you have two files in the same dir: /path/to/your/dir/sub_workflow.py: import Agently
sub_workflow = Agently.Workflow()
... /path/to/your/dir/main_workflow.py: import Agently
# you can import sub_workflow by this way
from sub_workflow import sub_workflow
main_workflow = Agently.Workflow() |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
If I have some subflows defined in different python files, such as
and I have a main workflow in another python file and I would like to connect all the subflows in this python file.
How to include those subflows into the main flow python file?
THanks
Beta Was this translation helpful? Give feedback.
All reactions