4 ms·
It's probably overkill depending on your use-case, but temporal has a python client: https://github.com/temporalio/sdk-python https://github.com/temporalio/sdk-
by bitdivision 3y ago
It's probably overkill depending on your use-case, but temporal has a python client: https://github.com/temporalio/sdk-python https://github.com/temporalio/sdk-python
- blumomo 3y agoThanks, that would solve it! Their „workflows“ provide a nice abstraction. Though I’d rather like to not include an external service. Imagine a simpler implementation for me where any earlier called subfunction would simply return the previous result, up to the point where the function was previously interrupted. Therefore these previous return values need to be stored (in what temporal calls a workflow), i.e. in a database. Sounds simple enough and decorators would probably help designing a good abstraction and keeping everything self-documenting and simple enough to understand.
- kodablah 3y agohttps://temporal.io/blog/durable-distributed-asyncio-event-loop https://temporal.io/blog/durable-distributed-asyncio-event-l... explains how it works