(self, field)
Get python type based on field subclass
Get python type based on field subclass
Get python type based on field subclass
def _get_python_type(self, field):
        """Get python type based on field subclass"""
        for map_class, pytype in MARSHMALLOW_TO_PY_TYPES_PAIRS:
            if issubclass(field.__class__, map_class):
                return pytype

        raise UnsupportedValueError("unsupported field type %s" % field)
def _get_python_type ( self , field ) : for map_class , pytype in MARSHMALLOW_TO_PY_TYPES_PAIRS : if issubclass ( field . __class__ , map_class ) : return pytype raise UnsupportedValueError ( "unsupported field type %s" % field )