[Feature Request] Create sample for calling Python Client from a sync method
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
Research direction
Review the repository's existing hello-world samples and the Python Client usage patterns first; no specific file or test is named in the issue. Add a sample showing client.start_workflow or client.execute_workflow called from a synchronous method, then verify that the sample runs as part of the getting-started experience.
Written by the indexing model from the issue text.
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 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.
Describe the solution you'd like
I'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
Additional context
- Dominant language
- Python
- Stars
- 367
- Forks
- 121
- Avg merge
- 3d 20h
- Merged PRs (30d)
- 11
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from temporalio/samples-python
-
enhancement
temporalio/samples-python#254 · 1 comment · 1 assignee ·
-
enhancement
temporalio/samples-python#253 · 1 assignee ·
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 35/100
temporalio/samples-python#192 · 2 comments ·
-
enhancement
Difficulty 3/5 1-2 days Newbie friendliness 45/100
temporalio/samples-python#191 ·
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 48/100
temporalio/samples-python#184 ·
All issues in temporalio/samples-python
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100