Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uber 832 Flow Decider #32

Merged
merged 2 commits into from
Oct 11, 2024
Merged

Conversation

davramov
Copy link
Contributor

Added orchestration/flows/bl832/decision_flow.py that sets up the JSON block for storing which flows to run, and a Prefect flow that reads from that JSON block, and runs each flow set to True. I still need to define inputs for each flow.

…N block for storing which flows to run, and a Prefect flow for running each flow set to True. Still need to define inputs for each flow.
@davramov davramov changed the title Uber Flow Decider Uber 832 Flow Decider Oct 10, 2024
…me/deployment_name in the settings JSON, and added input parameters to decision_flow().

tasks = []
for flow_name, run_flow in decision_settings.value.items():
logger.info(f"{flow_name}")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One cool trick in python:

logger.info(f"{flow_name=}") automatically prints the variable name along with the value.

@dylanmcreynolds dylanmcreynolds merged commit 68f0aa4 into als-computing:main Oct 11, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants