https://prefect.io logo
Title
t

Tomás Emilio Silva Ebensperger

03/23/2023, 4:14 PM
Hi everyone, Is it possible to specify the profile you want to use in
Deployment.build_from_flow
similar to what you do when using the CLI
prefect --profile "profile1" deployment build ....
1
z

Zanie

03/23/2023, 4:51 PM
You could probably use
with prefect.context.use_profile("profile1"): …
🙌 2