zlacker

[parent] [thread] 2 comments
1. n00bsk+(OP)[view] [source] 2024-06-27 22:06:30
This looks really awesome! We were just discussing at work how we're having a hard time finding a framework for a task queue that supports dependant tasks and has support for Python & TS. I suppose writing that out it does feel like a pretty specific requirement. I'm glad to see this pop up though, feels very relevant to me right now.

A question around workflows having just skimmed your docs. Is it possible to define a workflow that has steps in Python and a TS app?

replies(1): >>abelan+c2
2. abelan+c2[view] [source] 2024-06-27 22:22:01
>>n00bsk+(OP)
Thanks! Yes, our recommended approach is to write a parent workflow which calls child workflows registered on a different worker. We have users who are managing a set of Python functions from a Typescript backend with this approach.

It's also possible to have a single DAG workflow (instead of parent/child) that has steps across multiple languages, but you'll need to use a relatively undocumented method called `RegisterAction` within each SDK and use the API to register the DAG (instead of using the built-in helpers) for this use-case. So we recommend using the parent/child workflows instead.

replies(1): >>n00bsk+t2
◧◩
3. n00bsk+t2[view] [source] [discussion] 2024-06-27 22:24:08
>>abelan+c2
Ah okay that makes sense! Thanks for the reply, will definitely try hatchet out!
[go to top]