Skip to content

Conversation

@uranusjr
Copy link
Contributor

@uranusjr uranusjr commented Feb 22, 2022

The functools.lru_cache and cache decorators can now decorate an async
function. This caches a wrapper to the coroutine returned by the
function, and awaits it when the wrapper is first awaited.
@rhettinger
Copy link
Contributor

Marking as do-not-merge. This needs substantial discussion and buy-in before going down this path.

@rhettinger
Copy link
Contributor

Marking as closed because the tracker discussion found a simpler, less invasive, more logical approach.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants