Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix type-var error, in newer versions of mypy (#275)
mypy complains that `get` should be generic in order to return a generic. The method is in fact dynamic: the cache can contain multiple types. The caller must cast to the type it thinks it is `get`-ing.
- Loading branch information
1 parent
3087963
commit df46d34
Showing
1 changed file
with
20 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters