Delen via


BlobConverter Klas

Overname
BlobConverter
BlobConverter

Constructor

BlobConverter()

Methoden

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
Vereist

check_output_type_annotation

check_output_type_annotation(pytype: type) -> bool

Parameters

Name Description
pytype
Vereist

decode

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

Parameters

Name Description
data
Vereist

Keyword-Only Parameters

Name Description
trigger_metadata
Vereist

encode

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

Parameters

Name Description
obj
Vereist

Keyword-Only Parameters

Name Description
expected_type
Vereist

has_implicit_output

abstract classmethod has_implicit_output() -> bool