Sessions using the Python SDK

Hello,

I am trying to use Sessions to run media processing using the python-sdk. I have found examples for sessions using the go-sdk How to create a Worker Session in Go | Legacy documentation for Temporal SDKs but I am yet to find any documentation for the python-sdk.

Are sessions supported in python? If not, is that a possible feature request?

1 Like

Sessions are only supported with the Go SDK. For mostly-equivalent capabilities, see the activity sticky queue sample. That sample shows how to force multiple activities to use the same host just like sessions do.

The activity sticky queue was renamed to “worker specific task queues” - samples-python/worker_specific_task_queues at main · temporalio/samples-python · GitHub, see: Rename Sticky Activities sample by lorensr · Pull Request #75 · temporalio/samples-python · GitHub