The page you navigated to does not exist, so we brought you to the closest page to it.
flytekit.remote.interface
flytekit.remote.interface
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
Property
Type
Description
inputs
None
is_empty
None
outputs
None
def from_flyte_idl (
proto : flyteidl . core . interface_pb2 . TypedInterface ,
) -> TypedInterface
Parameter
Type
Description
proto
flyteidl.core.interface_pb2.TypedInterface
def promote_from_model (
model ,
)
Parameter
Type
Description
model
def serialize_to_string ()
:rtype: Text
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
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