Skip to content

cachetools __wrapped__ #13644

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
brandonchinn178 opened this issue Mar 17, 2025 · 2 comments
Open

cachetools __wrapped__ #13644

brandonchinn178 opened this issue Mar 17, 2025 · 2 comments
Assignees
Labels
stubs: false positive Type checkers report false errors

Comments

@brandonchinn178
Copy link

cachetools.cached() adds a __wrapped__ attribute (by virtue of functools.update_wrapper) to bypass the cache, but mypy errors saying attribute is undefined

@srittau srittau added the stubs: false positive Type checkers report false errors label Mar 17, 2025
@markparonyan
Copy link

Can I work on this?

@sobolevn
Copy link
Member

Sure, please go ahead :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stubs: false positive Type checkers report false errors
Projects
None yet
Development

No branches or pull requests

4 participants