Closed alexfikl closed 2 years ago
Seems like the new version of mypy is looking into the singledispatch arguments a bit more closely. The issue was that
singledispatch
serialize_container
ArrayContainer
ndarray
This just sets it to Any so that it's a proper fallback for all objects.
Any
Fixes #130
Thanks!
Seems like the new version of mypy is looking into the
singledispatch
arguments a bit more closely. The issue was thatserialize_container
took anArrayContainer
(which is an actual class)ndarray
version took anndarray
(which is not a subclass ofArrayContainer
!)This just sets it to
Any
so that it's a proper fallback for all objects.Fixes #130