sdk-python
sdk-python copied to clipboard
Temporal Python SDK
### What are you really trying to do? - Hi team, I am having an issue when trying to `start_workflow` and `signal_workflow` ### Describe the bug - It happens when...
Fix for https://github.com/temporalio/sdk-python/issues/629 ## What was changed Guard clause on workflow.upsert_search_attributes so SDK doesn't crash on empty input. ## Why? Spent 5 hours debugging an inscrutable error message. ## Checklist...
Expose update-with-start operations via the SDK
Security scans have identified a vulnerability in one of the Rust dependencies. The current version of the package is affected by the following advisories: [GHSA-vr26-jcq5-fjj8](https://github.com/advisories/GHSA-vr26-jcq5-fjj8) [RUSTSEC-2024-0373](https://rustsec.org/advisories/RUSTSEC-2024-0373.html) If possible, package should...
### What are you really trying to do? List workflow queries using the UI (Queries tab) ### Describe the bug The UI shows "Encoded failure" but this is an error...
To reproduce: 1. Checkout https://github.com/temporalio/samples-python 2. `poetry add ruamel.yaml` 3. Add `import ruamel.yaml` to the top of `hello/hello_activity.py` 4. `poetry run hello/hello_activity.py` This produces the error here: https://gist.github.com/adamh-oai/dfdb9b07b89bf3cee10da34ba2582805 Important parts:...
See e.g. https://github.com/temporalio/sdk-python/actions/runs/10721545848/job/29731379405 ``` error: linking with `link.exe` failed: exit code: 1181 | = note: "C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Tools\\MSVC\\14.41.34120\\bin\\HostX64\\x64\\link.exe" ... = note: LINK : fatal error LNK1181: cannot open input...
We'd like a good way to write type-level tests to confirm that mypy and pyright are enforcing what we want them to enforce and to prevent regressions.
### What are you really trying to do? To connect a worker to a Temporal server with an `authorization` header. ### Describe the bug Starting a worker with an incorrect...
In the middle of a workflow, if you call `upsert_search_attributes` with an empty input: ```python empty = [] workflow.upsert_search_attributes(empty) ``` You'll get a completely inscrutable and hard to debug error...