BlobConverter 클래스
- 상속
-
BlobConverterBlobConverter
생성자
BlobConverter()
메서드
| check_input_type_annotation | |
| check_output_type_annotation | |
| decode | |
| encode | |
| has_implicit_output |
check_input_type_annotation
check_input_type_annotation(pytype: type) -> bool
매개 변수
| Name | Description |
|---|---|
|
pytype
필수
|
|
check_output_type_annotation
check_output_type_annotation(pytype: type) -> bool
매개 변수
| Name | Description |
|---|---|
|
pytype
필수
|
|
decode
decode(data: Datum, *, trigger_metadata) -> Any
매개 변수
| Name | Description |
|---|---|
|
data
필수
|
|
키워드 전용 매개 변수
| Name | Description |
|---|---|
|
trigger_metadata
필수
|
|
encode
encode(obj: Any, *, expected_type: type | None) -> Datum
매개 변수
| Name | Description |
|---|---|
|
obj
필수
|
|
키워드 전용 매개 변수
| Name | Description |
|---|---|
|
expected_type
필수
|
|
has_implicit_output
abstract classmethod has_implicit_output() -> bool