sdk-python
sdk-python copied to clipboard
Temporal Python SDK
## What was changed Before this change, the Python SDK added commands on the activation completion before payload conversion and then filled them out including with conversion. This meant that...
Fixes https://github.com/temporalio/sdk-python/issues/528 With this change we honor all non-completion commands emitted by workflow coroutines, even if they come after a completion command (i.e. complete/CAN/cancel/fail). A consequence is that when an...
### Describe the solution you'd like Per https://github.com/temporalio/api/pull/308, https://github.com/temporalio/sdk-python/blob/3796ec3e4039b61eb79e143aee815c6448134d39/temporalio/client.py#L3579 should now be 1 year. Also, consider if we can have defaults be server-side defaults instead of client-side (changes types to...
### What are you really trying to do? Hi there, I am writing tests for a workflow in which it spawns N child workflows using `workflow.start_child_workflow()`, places them in a...
Currently, workflow cancellation does not result in cancellation of in-progress signal/update handler executions. For example, consider the case of update and see the sample below: the client waiting on the...
Fixes #554 Add tests confirming that `asyncio.Lock` and `asyncio.Semaphore` can be used in workflow code to control concurrency of coroutines (tasks spawned by the main coroutine, and update handlers). The...
### Describe the bug Sometimes on Python 3.8, there is this test failure: ``` tests/worker/test_replayer.py::test_replayer_workflow_incomplete - RuntimeError: Failed validating workflow SayHelloWorkflow ``` Here is the full logged exception: ``` ______________________...
https://github.com/temporalio/sdk-python/pull/556 omitted to - address dynamic handlers - test that warnings are emitted on continue-as-new
Fixes #468 Support setting `next_retry_delay` when raising `ApplicationError` from activity code. ### Evidence that this is correct PR contains an integration test.
### What are you really trying to do? I'm trying to update a workflow with a search attribute `checkout_time` of type datetime using the python SDK. The `checkout_time` datetime search...