Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
from prefect import Flow, Parameter
with Flow("parameter-anti-pattern") as flow:
dummy_parameter = Parameter("dummy")
if __name__ == "__main__":
flow.run(parameters=dict(dummy="some_value"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment