https://prefect.io logo
#prefect-community
Title
# prefect-community
i

Ievgenii Martynenko

05/08/2022, 6:13 PM
Hi, What is the best approach to be able to run flow locally not changing Flow() parameters? don't want to re-invent the wheel. way it should be deployed and kept in code:
Copy code
with Flow(name="Flow", executor=executor, storage=storage, run_config=run_config) as flow:
way it can start locally:
Copy code
with Flow(name="Flow") as local_flow:
flow itself remains the same.
a

Anna Geller

05/08/2022, 6:17 PM
could you explain a bit more? when you run your flow locally, storage and run configuration are ignored - does this answer your question?
❤️ 1
i

Ievgenii Martynenko

05/08/2022, 6:31 PM
Yes, that answered my question
👍 1
5 Views