Skip to content

Instantly share code, notes, and snippets.

@anna-geller
Created January 6, 2022 20:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anna-geller/c1f82ed7e1f95f7193e92d20d2a61ad7 to your computer and use it in GitHub Desktop.
Save anna-geller/c1f82ed7e1f95f7193e92d20d2a61ad7 to your computer and use it in GitHub Desktop.
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