Created
December 19, 2021 16:47
-
-
Save anna-geller/79bd7ea770c735dbc2d431c73d4295de to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from prefect import Flow | |
from prefect.tasks.prefect import create_flow_run, wait_for_flow_run | |
with Flow("parametrized_child_flow_run_from_parent_flow") as flow: | |
child_flow_run_id = create_flow_run( | |
flow_name="parametrized_flow", project_name="community", parameters=dict(x=10) | |
) | |
wait_for_flow_run(child_flow_run_id, stream_logs=True, raise_final_state=True) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment