1.16.10
flytekit.models.core.types
Directory
Classes
| Class | Description |
|---|---|
BlobType |
This type represents offloaded data and is typically used for things like files. |
EnumType |
Models _types_pb2. |
flytekit.models.core.types.BlobType
This type represents offloaded data and is typically used for things like files.
class BlobType(
format,
dimensionality,
)| Parameter | Type | Description |
|---|---|---|
format |
||
dimensionality |
Methods
| Method | Description |
|---|---|
from_flyte_idl() |
|
serialize_to_string() |
|
short_string() |
:rtype: Text. |
to_flyte_idl() |
:rtype: flyteidl. |
from_flyte_idl()
def from_flyte_idl(
proto,
)| Parameter | Type | Description |
|---|---|---|
proto |
serialize_to_string()
def serialize_to_string()short_string()
def short_string():rtype: Text
to_flyte_idl()
def to_flyte_idl():rtype: flyteidl.core.types_pb2.BlobType
Properties
| Property | Type | Description |
|---|---|---|
dimensionality |
An integer from BlobType.BlobDimensionality enum :rtype: int |
|
format |
A string describing the format of the underlying blob data. :rtype: Text |
|
is_empty |
flytekit.models.core.types.EnumType
Models _types_pb2.EnumType
class EnumType(
values: typing.List[str],
)| Parameter | Type | Description |
|---|---|---|
values |
typing.List[str] |
Methods
| Method | Description |
|---|---|
from_flyte_idl() |
|
serialize_to_string() |
|
short_string() |
:rtype: Text. |
to_flyte_idl() |
from_flyte_idl()
def from_flyte_idl(
proto: _types_pb2.EnumType,
)| Parameter | Type | Description |
|---|---|---|
proto |
_types_pb2.EnumType |
serialize_to_string()
def serialize_to_string()short_string()
def short_string():rtype: Text
to_flyte_idl()
def to_flyte_idl()Properties
| Property | Type | Description |
|---|---|---|
is_empty |
||
values |