https://prefect.io logo
Title
o

Ofir

03/03/2023, 6:06 PM
How odd is it to register a schedule for a workflow from a different running workflow? We have an application where users trigger training of ML models through a web app. Upon triggering that, we would want to register a daily scheduled workflow to be run every day. Does Prefect allow to express that? is there best practices around that?
1
t

Taylor Curran

03/03/2023, 6:51 PM
Using our API you can configure deployments programmatically. You can define a deployment in python
o

Ofir

03/03/2023, 6:52 PM
Thanks Taylor! so either using the Prefect CLI or the Prefect REST API or the Prefect Python SDK?
I mean either options would work for registering/configuring a deployment (in my specific example a workflow on a recurring schedule)
t

Taylor Curran

03/03/2023, 7:07 PM
correct! main thing to know is you can define a deployment in python using the sdk!
o

Ofir

03/03/2023, 7:08 PM
Great thanks 🙏