BlobConverter Classe
- Héritage
-
BlobConverterBlobConverter
Constructeur
BlobConverter()
Méthodes
| check_input_type_annotation | |
| check_output_type_annotation | |
| decode | |
| encode | |
| has_implicit_output |
check_input_type_annotation
check_input_type_annotation(pytype: type) -> bool
Paramètres
| Nom | Description |
|---|---|
|
pytype
Obligatoire
|
|
check_output_type_annotation
check_output_type_annotation(pytype: type) -> bool
Paramètres
| Nom | Description |
|---|---|
|
pytype
Obligatoire
|
|
decode
decode(data: Datum, *, trigger_metadata) -> Any
Paramètres
| Nom | Description |
|---|---|
|
data
Obligatoire
|
|
Paramètres de mots-clés uniquement
| Nom | Description |
|---|---|
|
trigger_metadata
Obligatoire
|
|
encode
encode(obj: Any, *, expected_type: type | None) -> Datum
Paramètres
| Nom | Description |
|---|---|
|
obj
Obligatoire
|
|
Paramètres de mots-clés uniquement
| Nom | Description |
|---|---|
|
expected_type
Obligatoire
|
|
has_implicit_output
abstract classmethod has_implicit_output() -> bool