flytekit.remote.interface
flytekit.remote.interface
Directory
Classes
flytekit.remote.interface.TypedInterface
def 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,
):
Parameter
Type
proto
flyteidl.core.interface_pb2.TypedInterface
def promote_from_model (
model,
):
serialize_to_string()
def serialize_to_string ()
short_string()
to_flyte_idl()
def transform_interface_to_list (
bound_inputs: typing. Set[str],
excluded_inputs: typing. Set[str],
):
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()
Properties
Property
Type
Description
inputs
is_empty
outputs