Megosztás a következőn keresztül:


EnitityTriggerConverter Osztály

Öröklődés
EnitityTriggerConverter
EnitityTriggerConverter

Konstruktor

EnitityTriggerConverter()

Metódusok

check_input_type_annotation
check_output_type_annotation
decode
encode
has_implicit_output

check_input_type_annotation

check_input_type_annotation(pytype)

Paraméterek

Name Description
pytype
Kötelező

check_output_type_annotation

check_output_type_annotation(pytype)

Paraméterek

Name Description
pytype
Kötelező

decode

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

Paraméterek

Name Description
data
Kötelező

Csak kulcsszavas paraméterek

Name Description
trigger_metadata
Kötelező

encode

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

Paraméterek

Name Description
obj
Kötelező

Csak kulcsszavas paraméterek

Name Description
expected_type
Kötelező

has_implicit_output

has_implicit_output() -> bool