You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Need to update cachetools decorator type stub with paramspec #4849
ParamSpec can now be used in most situations, but I'm not immediately sure how the cachetools stub can be improved with ParamSpec. (PRs to improve our cachetools stubs are of course welcome!)
The linked pylance issue seems to be to do with functools.lru_cache, not our third-party cachetools stubs.
ParamSpec can now be used in most situations, but I'm not immediately sure how the cachetools stub can be improved with ParamSpec. (PRs to improve our cachetools stubs are of course welcome!)
The linked pylance issue seems to be to do with functools.lru_cache, not our third-party cachetools stubs.
Closing as per my comments above, but feel free to open a new issue (or, better yet, a PR) if there are indeed still issues with our cachetools stubs :)
Issues around functools.lru_cache are being discussed in depth at #6347 and #7771 already.
In https://github.com/python/typeshed/blob/master/third_party/2and3/cachetools/decorators.pyi,
ParamSpecneeds to be added to theCallableandContextManagerparams