The page you navigated to () does not exist, so we brought you to the closest page to it.
You have switched from the to the variant of this site. There is no equivalent of . We have taken you to the closest page in the variant.
1.16.16
flytekit.remote.interface
Directory
Classes
| Class | Description |
|---|---|
TypedInterface |
flytekit.remote.interface.TypedInterface
Parameters
class TypedInterface(
inputs,
outputs,
)Please note that this model is slightly incorrect, but is more user-friendly. The underlying inputs and outputs are represented directly as Python dicts, rather than going through the additional VariableMap layer.
| Parameter | Type | Description |
|---|---|---|
inputs |
||
outputs |
Properties
| Property | Type | Description |
|---|---|---|
inputs |
None |
|
is_empty |
None |
|
outputs |
None |
Methods
| Method | Description |
|---|---|
from_flyte_idl() |
|
promote_from_model() |
|
serialize_to_string() |
|
short_string() |
|
to_flyte_idl() |
|
transform_interface_to_list() |
Takes a single task interface and interpolates it to an array interface - to allow performing distributed. |
from_flyte_idl()
def from_flyte_idl(
proto: flyteidl.core.interface_pb2.TypedInterface,
) -> TypedInterface| Parameter | Type | Description |
|---|---|---|
proto |
flyteidl.core.interface_pb2.TypedInterface |
promote_from_model()
def promote_from_model(
model,
)| Parameter | Type | Description |
|---|---|---|
model |
Returns: TypedInterface
serialize_to_string()
def serialize_to_string()short_string()
def short_string()Returns: Text
to_flyte_idl()
def to_flyte_idl()transform_interface_to_list()
def transform_interface_to_list(
bound_inputs: typing.Set[str],
excluded_inputs: typing.Set[str],
) -> TypedInterfaceTakes a single task interface and interpolates it to an array interface - to allow performing distributed python map like functions
| Parameter | Type | Description |
|---|---|---|
bound_inputs |
typing.Set[str] |
fixed inputs that should not be updated to a list and will be maintained as is |
excluded_inputs |
typing.Set[str] |
inputs that should be excluded from the new interface |