Freigeben über


EventHubTriggerConverter Klasse

Vererbung
EventHubTriggerConverter

Konstruktor

EventHubTriggerConverter()

Methoden

check_input_type_annotation
check_output_type_annotation
decode
decode_multiple_events
decode_single_event
encode
has_implicit_output

check_input_type_annotation

check_input_type_annotation(pytype: type) -> bool

Parameter

Name Beschreibung
pytype
Erforderlich

check_output_type_annotation

check_output_type_annotation(pytype: type) -> bool

Parameter

Name Beschreibung
pytype
Erforderlich

decode

decode(data: Datum, *, trigger_metadata: Mapping[str, Datum]) -> EventHubEvent | List[EventHubEvent]

Parameter

Name Beschreibung
data
Erforderlich

Keyword-Only Parameter

Name Beschreibung
trigger_metadata
Erforderlich

decode_multiple_events

decode_multiple_events(data, trigger_metadata: Mapping[str, Datum]) -> List[EventHubEvent]

Parameter

Name Beschreibung
data
Erforderlich
trigger_metadata
Erforderlich

decode_single_event

decode_single_event(data, trigger_metadata: Mapping[str, Datum]) -> EventHubEvent

Parameter

Name Beschreibung
data
Erforderlich
trigger_metadata
Erforderlich

encode

encode(obj: Any, *, expected_type: type | None) -> Datum

Parameter

Name Beschreibung
obj
Erforderlich

Keyword-Only Parameter

Name Beschreibung
expected_type
Erforderlich

has_implicit_output

abstract classmethod has_implicit_output() -> bool