你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

CosmosDBConverter Class

Inheritance
CosmosDBConverter
CosmosDBConverter

Constructor

CosmosDBConverter()

Methods

check_input_type_annotation
check_output_type_annotation
decode
encode
has_implicit_output

check_input_type_annotation

check_input_type_annotation(pytype: type) -> bool

Parameters

Name Description
pytype
Required

check_output_type_annotation

check_output_type_annotation(pytype: type) -> bool

Parameters

Name Description
pytype
Required

decode

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

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

abstract classmethod has_implicit_output() -> bool