The page you navigated to does not exist, so we brought you to the closest page to it.
flytekit.models.types
class Error(
failed_node_id: str,
message: str,
)
| Parameter |
Type |
Description |
failed_node_id |
str |
|
message |
str |
|
def from_flyte_idl(
pb2_object: flyteidl.core.types_pb2.Error,
) -> Error
| Parameter |
Type |
Description |
pb2_object |
flyteidl.core.types_pb2.Error |
|
def serialize_to_string()
:rtype: Text
| Property |
Type |
Description |
failed_node_id |
|
|
is_empty |
|
|
message |
|
|
class LiteralType(
simple,
schema,
collection_type,
map_value_type,
blob,
enum_type,
union_type,
structured_dataset_type,
metadata,
structure,
annotation,
)
This is a oneof message, only one of the kwargs may be set, representing one of the Flyte types.
| Parameter |
Type |
Description |
simple |
|
|
schema |
|
|
collection_type |
|
|
map_value_type |
|
|
blob |
|
|
enum_type |
|
|
union_type |
|
|
structured_dataset_type |
|
|
metadata |
|
|
structure |
|
|
annotation |
|
|
def from_flyte_idl(
proto,
)
| Parameter |
Type |
Description |
proto |
|
|
def serialize_to_string()
:rtype: Text
:rtype: flyteidl.core.types_pb2.LiteralType
| Property |
Type |
Description |
annotation |
|
:rtype: flytekit.models.annotation.TypeAnnotation
|
blob |
|
|
collection_type |
|
The collection value type
|
enum_type |
|
|
is_empty |
|
|
map_value_type |
|
The Value for a dictionary. Key is always string
|
metadata |
|
:rtype: dict[Text, T]
|
schema |
|
|
simple |
|
|
structure |
|
|
structured_dataset_type |
|
|
union_type |
|
|
class OutputReference(
node_id,
var,
attr_path: typing.List[typing.Union[str, int]],
)
A reference to an output produced by a node. The type can be retrieved -and validated- from
the underlying interface of the node.
| Parameter |
Type |
Description |
node_id |
|
|
var |
|
|
attr_path |
typing.List[typing.Union[str, int]] |
|
def from_flyte_idl(
pb2_object,
)
| Parameter |
Type |
Description |
pb2_object |
|
|
def serialize_to_string()
:rtype: Text
:rtype: flyteidl.core.types.OutputReference
| Property |
Type |
Description |
attr_path |
|
The attribute path the promise will be resolved with. :rtype: list[union[str, int]]
|
is_empty |
|
|
node_id |
|
Node id must exist at the graph layer. :rtype: Text
|
var |
|
Variable name must refer to an output variable for the node. :rtype: Text
|
class SchemaType(
columns,
)
| Parameter |
Type |
Description |
columns |
|
|
def from_flyte_idl(
proto,
)
| Parameter |
Type |
Description |
proto |
|
|
def serialize_to_string()
:rtype: Text
:rtype: flyteidl.core.types_pb2.SchemaType
| Property |
Type |
Description |
columns |
|
A list of columns defining the underlying data frame. :rtype: list[SchemaType.SchemaColumn]
|
is_empty |
|
|
class StructuredDatasetType(
columns: typing.List[flytekit.models.types.StructuredDatasetType.DatasetColumn],
format: str,
external_schema_type: str,
external_schema_bytes: bytes,
)
| Parameter |
Type |
Description |
columns |
typing.List[flytekit.models.types.StructuredDatasetType.DatasetColumn] |
|
format |
str |
|
external_schema_type |
str |
|
external_schema_bytes |
bytes |
|
def from_flyte_idl(
proto: flyteidl.core.types_pb2.StructuredDatasetType,
) -> flyteidl.core.types_pb2.StructuredDatasetType
| Parameter |
Type |
Description |
proto |
flyteidl.core.types_pb2.StructuredDatasetType |
|
def serialize_to_string()
:rtype: Text
| Property |
Type |
Description |
columns |
|
|
external_schema_bytes |
|
|
external_schema_type |
|
|
format |
|
|
is_empty |
|
|
Models _types_pb2.TypeStructure
class TypeStructure(
tag: str,
dataclass_type: typing.Dict[str, ForwardRef('LiteralType')],
)
| Parameter |
Type |
Description |
tag |
str |
|
dataclass_type |
typing.Dict[str, ForwardRef('LiteralType')] |
|
def from_flyte_idl(
proto: flyteidl.core.types_pb2.TypeStructure,
)
| Parameter |
Type |
Description |
proto |
flyteidl.core.types_pb2.TypeStructure |
|
def serialize_to_string()
:rtype: Text
| Property |
Type |
Description |
dataclass_type |
|
|
is_empty |
|
|
tag |
|
|
Models _types_pb2.UnionType
class UnionType(
variants: typing.List[ForwardRef('LiteralType')],
)
| Parameter |
Type |
Description |
variants |
typing.List[ForwardRef('LiteralType')] |
|
def from_flyte_idl(
proto: flyteidl.core.types_pb2.UnionType,
)
| Parameter |
Type |
Description |
proto |
flyteidl.core.types_pb2.UnionType |
|
def serialize_to_string()
:rtype: Text
| Property |
Type |
Description |
is_empty |
|
|
variants |
|
|