Closed john-kurkowski closed 1 year ago
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.
get
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 isget
-ing.