BlobConverter Classe
- Herança
-
BlobConverterBlobConverter
Construtor
BlobConverter()
Métodos
| check_input_type_annotation | |
| check_output_type_annotation | |
| decode | |
| encode | |
| has_implicit_output |
check_input_type_annotation
check_input_type_annotation(pytype: type) -> bool
Parâmetros
| Nome | Description |
|---|---|
|
pytype
Obrigatório
|
|
check_output_type_annotation
check_output_type_annotation(pytype: type) -> bool
Parâmetros
| Nome | Description |
|---|---|
|
pytype
Obrigatório
|
|
decode
decode(data: Datum, *, trigger_metadata) -> Any
Parâmetros
| Nome | Description |
|---|---|
|
data
Obrigatório
|
|
Parâmetros de apenas palavra-chave
| Nome | Description |
|---|---|
|
trigger_metadata
Obrigatório
|
|
encode
encode(obj: Any, *, expected_type: type | None) -> Datum
Parâmetros
| Nome | Description |
|---|---|
|
obj
Obrigatório
|
|
Parâmetros de apenas palavra-chave
| Nome | Description |
|---|---|
|
expected_type
Obrigatório
|
|
has_implicit_output
abstract classmethod has_implicit_output() -> bool