Skip to main content

convert_to_flyte_phase

Convert the state from the connector to the phase in flyte.

def convert_to_flyte_phase(
state: string
) - > TaskExecution.Phase

Convert the state from the connector to the phase in flyte.

Parameters

NameTypeDescription
statestringThe raw execution state string returned by the external connector to be mapped

Returns

TypeDescription
TaskExecution.PhaseThe corresponding Flyte task execution phase mapping to the provided connector state