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