Skip to content

Instantly share code, notes, and snippets.

@anna-geller
Created December 19, 2021 23:57
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/cae3f33911bfddc639ca253d7795116d to your computer and use it in GitHub Desktop.
Save anna-geller/cae3f33911bfddc639ca253d7795116d to your computer and use it in GitHub Desktop.
# local flow run
# 1. Using defaults:
prefect run --name using_parameters_in_state_handler --watch
# 2. Using custom values:
prefect run -p backfilling_flow.py --param start_date="2021-12-21T00:00:00-05:00" --param end_date="2021-12-22T00:00:00-05:00"
# backend flow run (running on some agent)
prefect register --project community -p backfilling_flow.py
# 1. Using defaults:
prefect run --name backfilling_flow --project community --watch
# 2. Using custom values:
prefect run --name backfilling_flow --project community --param start_date="2021-12-21T00:00:00-05:00" --param end_date="2021-12-22T00:00:00-05:00" --watch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment