temporalio / temporalio/samples-python

Encourage synchronous activities more

Open
#82 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Python
Stars
367
Forks
121
Avg merge
3d 20h
Merged PRs (30d)
11

Description

Describe the solution you'd like
  • Rename hello/hello_activity.py to hello/hello_activity_async.py (and README refs and what not)
  • Rename hello/hello_activity_threaded.py to hello/hello_activity.py (and README refs and what not)
  • Consider changing other samples to use def instead of async def where it makes sense

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing hello/hello_activity.py, hello/hello_activity_threaded.py, and the README references to these samples. Rename the files and update references as requested, then inspect other samples for cases where synchronous def is appropriate; done means the names and README links are consistent and the selected examples use the intended style.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
documentation
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.