Skip to content

Instantly share code, notes, and snippets.

@anna-geller
Created January 6, 2022 20:06
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/0f1ce9469e9125e3b8e2c114473f8006 to your computer and use it in GitHub Desktop.
Save anna-geller/0f1ce9469e9125e3b8e2c114473f8006 to your computer and use it in GitHub Desktop.
from prefect import Flow, Parameter
with Flow("my-flow") as flow:
dummy_parameter = Parameter("dummy")
flow.add_task(dummy_parameter)
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