We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
key
Pretty straightforward -- the key should return something hashable, not the same return type as its memoized function. Occurrences of:
key: Callable[P, R]
Should be
# Earlier # from typing import Hashable key: Callable[P, Hashable]
The text was updated successfully, but these errors were encountered:
Fixes incorrect type hints on memoize key widgetti#958
f6821c2
Successfully merging a pull request may close this issue.
Pretty straightforward -- the key should return something hashable, not the same return type as its memoized function. Occurrences of:
Should be
The text was updated successfully, but these errors were encountered: