Sdílet prostřednictvím


EnitityTriggerConverter Class

Inheritance
EnitityTriggerConverter
EnitityTriggerConverter

Constructor

EnitityTriggerConverter()

Methods

check_input_type_annotation
check_output_type_annotation
decode
encode
has_implicit_output

check_input_type_annotation

check_input_type_annotation(pytype)

Parameters

Name Description
pytype
Required

check_output_type_annotation

check_output_type_annotation(pytype)

Parameters

Name Description
pytype
Required

decode

decode(data: Datum, *, trigger_metadata) -> EntityContext

Parameters

Name Description
data
Required

Keyword-Only Parameters

Name Description
trigger_metadata
Required

encode

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

Parameters

Name Description
obj
Required

Keyword-Only Parameters

Name Description
expected_type
Required

has_implicit_output

has_implicit_output() -> bool