anton k
01/30/2025, 3:49 PMif __name__ == "__main__":
upload_deploy = upload_flow.to_deployment("upload-file-deploy", work_pool_name="my-pool")
transform_deploy = transform_flow.to_deployment("transform-deploy", interval=30, work_pool_name="my-pool")
serve(upload_deploy, transform_deploy)
Is this process considered a worker? I'm running everything locally for now. It seems to be able to run the scheduled tasks and it also responds to "run_deployment" calls from other processes. I have not been able to wrap my head around how "prefect worker start" fits into this.Brock
01/30/2025, 4:30 PManton k
01/30/2025, 6:23 PMJake Kaplan
01/30/2025, 7:22 PManton k
01/30/2025, 7:33 PM