Theom
02/10/2025, 9:38 PMNate
02/10/2025, 10:15 PMrun_deployment
from your endpoint or use the REST API to do the same thing directly, you can:
• trigger the run
• get the ID back to the user
• decide how to expose access to the result
alternatively, one thing you might be interested in is background tasks, which are websocket based and easier to scale horizontally if needed (but roughly the same idea)
https://github.com/zzstoatzz/prefect-pack/tree/main/examples/do_celery_stuffTheom
02/11/2025, 10:15 AM