BlobConverter Klass
- Arv
-
BlobConverterBlobConverter
Konstruktor
BlobConverter()
Metoder
| check_input_type_annotation | |
| check_output_type_annotation | |
| decode | |
| encode | |
| has_implicit_output |
check_input_type_annotation
check_input_type_annotation(pytype: type) -> bool
Parametrar
| Name | Description |
|---|---|
|
pytype
Obligatorisk
|
|
check_output_type_annotation
check_output_type_annotation(pytype: type) -> bool
Parametrar
| Name | Description |
|---|---|
|
pytype
Obligatorisk
|
|
decode
decode(data: Datum, *, trigger_metadata) -> Any
Parametrar
| Name | Description |
|---|---|
|
data
Obligatorisk
|
|
Keyword-Only parametrar
| Name | Description |
|---|---|
|
trigger_metadata
Obligatorisk
|
|
encode
encode(obj: Any, *, expected_type: type | None) -> Datum
Parametrar
| Name | Description |
|---|---|
|
obj
Obligatorisk
|
|
Keyword-Only parametrar
| Name | Description |
|---|---|
|
expected_type
Obligatorisk
|
|
has_implicit_output
abstract classmethod has_implicit_output() -> bool