temporalio / sdk-python

Temporal Python SDK
MIT License
473 stars 77 forks source link

Expose defaultConnection() method to switch between localhost and cloud based on env #509

Open josh-berry opened 7 months ago

josh-berry commented 7 months ago

Expose a defaultConnection() method or similar that switches between localhost (default) and cloud based on some environment variable, so that we can use it in the samples repos to allow people to easily run samples in the cloud. See: https://github.com/temporalio/features/issues/454