Title: [Feature Request] Create sample for calling Python Client from a sync method · Issue #231 · temporalio/samples-python · GitHub
Open Graph Title: [Feature Request] Create sample for calling Python Client from a sync method · Issue #231 · temporalio/samples-python
X Title: [Feature Request] Create sample for calling Python Client from a sync method · Issue #231 · temporalio/samples-python
Description: Is your feature request related to a problem? Please describe. There are many Temporal users that have existing Python code bases that are only sync, and for these users learning how to invoke the Temporal Client is toil, as they may not...
Open Graph Description: Is your feature request related to a problem? Please describe. There are many Temporal users that have existing Python code bases that are only sync, and for these users learning how to invoke the ...
X Description: Is your feature request related to a problem? Please describe. There are many Temporal users that have existing Python code bases that are only sync, and for these users learning how to invoke the ...
Opengraph URL: https://github.com/temporalio/samples-python/issues/231
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Feature Request] Create sample for calling Python Client from a sync method","articleBody":"### Is your feature request related to a problem? Please describe.\n\nThere are many Temporal users that have existing Python code bases that are only sync, and for these users learning how to invoke the Temporal Client is toil, as they may not be fully versed in asyncio and the event loop. Having a sample that provides a snippet on how to use the Temporal Client from an existing sync method would be very helpful for these folks as part of the getting started experience.\n\n### Describe the solution you'd like\n\nI'd like a hello world style sample that creates a client and then invokes client.start_workflow or client.execute_workflow from within a synchronous method\n\n### Additional context\n\n\u003c!-- Add any other context or screenshots about the feature request here. --\u003e\n","author":{"url":"https://github.com/pvsone","@type":"Person","name":"pvsone"},"datePublished":"2025-08-06T16:18:09.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/231/samples-python/issues/231"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:0cceb636-6ae4-f63c-abb8-f10efa70a902 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D9C4:282357:10649AA:167E2D8:6A4CA1A1 |
| html-safe-nonce | 89467297cf5915843118c9237b5b292372c0e19d001a7e5e46b35c249970b202 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOUM0OjI4MjM1NzoxMDY0OUFBOjE2N0UyRDg6NkE0Q0ExQTEiLCJ2aXNpdG9yX2lkIjoiNjU4OTc2NDIwNTYyNjIwNDkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | f349db9bd59ba3970a6f82f43772ae41142c40bc5cc0463aca8f50f8ac371270 |
| hovercard-subject-tag | issue:3297302525 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/temporalio/samples-python/231/issue_layout |
| twitter:image | https://opengraph.githubassets.com/01476906081dd13b6d72f00632a9bf28e405979b6a400b28d95f2bfc78cce70b/temporalio/samples-python/issues/231 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/01476906081dd13b6d72f00632a9bf28e405979b6a400b28d95f2bfc78cce70b/temporalio/samples-python/issues/231 |
| og:image:alt | Is your feature request related to a problem? Please describe. There are many Temporal users that have existing Python code bases that are only sync, and for these users learning how to invoke the ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | pvsone |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3d11bb817438277de2a940854450e83a7d32b6aeb5014e9e6b00a6423900251c |
| turbo-cache-control | no-preview |
| go-import | github.com/temporalio/samples-python git https://github.com/temporalio/samples-python.git |
| octolytics-dimension-user_id | 56493103 |
| octolytics-dimension-user_login | temporalio |
| octolytics-dimension-repository_id | 454557884 |
| octolytics-dimension-repository_nwo | temporalio/samples-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 454557884 |
| octolytics-dimension-repository_network_root_nwo | temporalio/samples-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ae90d426644ca15e89bacceb72e51f4e9dbf85f7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width