0.1.dev2192+g7c539c3.d20250403
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 |
---|---|
format |
|
dimensionality |
Methods
Method | Description |
---|---|
from_flyte_idl() |
|
serialize_to_string() |
|
short_string() |
:rtype: Text. |
to_flyte_idl() |
:rtype: flyteidl. |
verbose_string() |
:rtype: Text. |
from_flyte_idl()
def from_flyte_idl(
proto,
) -> e: BlobType
Parameter | Type |
---|---|
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
verbose_string()
def verbose_string()
:rtype: Text
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 |
---|---|
values |
typing.List[str] |
Methods
Method | Description |
---|---|
from_flyte_idl() |
|
serialize_to_string() |
|
short_string() |
:rtype: Text. |
to_flyte_idl() |
|
verbose_string() |
:rtype: Text. |
from_flyte_idl()
def from_flyte_idl(
proto: _types_pb2.EnumType,
)
Parameter | Type |
---|---|
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()
verbose_string()
def verbose_string()
:rtype: Text
Properties
Property | Type | Description |
---|---|---|
is_empty |
||
values |