flytekit.remote.entities.FlyteTaskNode

class flytekit.remote.entities.FlyteTaskNode(flyte_task)[source]

A class encapsulating a task that a Flyte node needs to execute.

Methods

Parameters:

flyte_task (FlyteTask)

classmethod from_flyte_idl(pb2_object)
Parameters:

pb2_object (flyteidl.core.workflow_pb2.TaskNode)

Return type:

TaskNode

classmethod promote_from_model(task)[source]

Takes the idl wrapper for a TaskNode, and returns the hydrated Flytekit object for it by fetching it with the FlyteTask control plane.

Parameters:

task (FlyteTask)

Return type:

FlyteTaskNode

serialize_to_string()
Return type:

str

short_string()
Return type:

Text

to_flyte_idl()
Return type:

flyteidl.core.workflow_pb2.TaskNode

verbose_string()
Return type:

Text

Attributes

flyte_task
is_empty
overrides
reference_id

A globally unique identifier for the task.