in azurefunctions-extensions-bindings-eventhub/azurefunctions/extensions/bindings/eventhub/eventDataConverter.py [0:0]
def check_input_type_annotation(cls, pytype: type) -> bool:
if pytype is None:
return False
# The annotation is a class/type (not an object) - not iterable
if (isinstance(pytype, type)
and issubclass(pytype, EventData)):
return True
# An iterable who only has one inner type and is a subclass of SdkType
return cls._is_iterable_supported_type(pytype)