Jon Ruhnke
11/02/2022, 8:46 PMBianca Hoch
11/02/2022, 8:48 PMRyan Peden
11/02/2022, 8:48 PMprefect cloud login
or manually set PREFECT_API_URL
and PREFECT_API_KEY
, then local Prefect runs will send results to Prefect Cloud.Jon Ruhnke
11/02/2022, 8:52 PMRyan Peden
11/02/2022, 8:57 PMprefect profile create dev
then:
prefect profile use dev
And you'll have a fresh profile that will only store results locally. Then you can switch back to the default profile or create a production profile you can use when you want to do things like deploy to production.Jon Ruhnke
11/02/2022, 9:01 PMRyan Peden
11/02/2022, 9:06 PMdef test_my_flows():
my_flow.with_options(tags=["test"])
my_other_flow.with_options(tags=["test"])
Jon Ruhnke
11/02/2022, 9:28 PMfrom prefect import tags
with tags("db", "blue"):
my_flow("foo")
Ryan Peden
11/02/2022, 9:29 PM