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
Directly report python type in pybind11 type caster.
It looks to me like type_descr is only supposed to be used for regular
wrapped types, not custom type casters of the sort we have here.
And happily we don't need to use its magic to look up the right Python
type from a compete (i.e. template-instantiated) C++ type, because we
know all ndarray type casters map to "numpy.ndarray" regardless of
their template parameters.