Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

[Feature Request] Add explicit memoization support to the `patched()` API

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

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
api, backend

Research direction

Start with the patched and deprecate_patch API entry points, then read temporalio/features#591 for the detailed requirements. The work is done when both APIs accept explicit memoized behavior, preserve and deprecate the existing signatures safely, document migration guidance, and delegate patched handling to Core.

Written by the indexing model from the issue text.

Description

enhancement
Describe the solution you'd like

In short:

  • Add a memoized argument to the patched and deprecate_patch APIs.

  • Keep backward compatibility on those functions for non-specifying the memoized argument, but deprecate those signatures. Make sure documentation clearly indicate how existing calls may safely get converted.

  • Delegate handling of the patched logic to Core.

See temporalio/features#591 for details.

Dominant language
Python
Stars
1.2k
Forks
241
Avg merge
3d 2h
Merged PRs (30d)
49

Contributor guide

Open the contributing guide

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.

More from temporalio/sdk-python

All issues in temporalio/sdk-python

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.