CosmosDBTriggerConverter Класс

Наследование
CosmosDBTriggerConverter

Конструктор

CosmosDBTriggerConverter()

Методы

check_input_type_annotation
check_output_type_annotation
decode
encode
has_implicit_output

check_input_type_annotation

check_input_type_annotation(pytype: type) -> bool

Параметры

Имя Описание
pytype
Обязательно

check_output_type_annotation

check_output_type_annotation(pytype: type) -> bool

Параметры

Имя Описание
pytype
Обязательно

decode

decode(data: Datum, *, trigger_metadata) -> DocumentList | None

Параметры

Имя Описание
data
Обязательно

Параметры Keyword-Only

Имя Описание
trigger_metadata
Обязательно

encode

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

Параметры

Имя Описание
obj
Обязательно

Параметры Keyword-Only

Имя Описание
expected_type
Обязательно

has_implicit_output

abstract classmethod has_implicit_output() -> bool