Hi everyone. I wonder is there a way to run a flow...
# prefect-getting-started
д
Hi everyone. I wonder is there a way to run a flow within a specific profile without running
prefect profile use name
? Ideally something like
Copy code
set_profile('name_1')
run_my_flow()
set_active_profile_back();
n
hi @Дмитро Булах - there is a
use_profile
context manager (
from prefect.context import use_profile
), however I am curious what you're using this for - can you give some context?