flytekit.remote.interface
0.1.dev2192+g7c539c3.d20250403
flytekit.remote.interface
Directory
Classes
flytekit.remote.interface.TypedInterface
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
inputs
outputs
Methods
from_flyte_idl()
def from_flyte_idl (
proto: flyteidl. core. interface_pb2. TypedInterface,
) -> TypedInterface
Parameter
Type
proto
flyteidl.core.interface_pb2.TypedInterface
def promote_from_model (
model,
) -> e: TypedInterface
serialize_to_string()
def serialize_to_string ()
short_string()
:rtype: Text
to_flyte_idl()
def transform_interface_to_list (
bound_inputs: typing. Set[str],
excluded_inputs: typing. Set[str],
) -> TypedInterface
Takes a single task interface and interpolates it to an array interface - to allow performing distributed
python map like functions
Parameter
Type
bound_inputs
typing.Set[str]
excluded_inputs
typing.Set[str]
verbose_string()
:rtype: Text
Properties
Property
Type
Description
inputs
is_empty
outputs