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
| Name | Type | Description |
|---|---|---|
| state | string | The raw execution state string returned by the external connector to be mapped |
Returns
| Type | Description |
|---|---|
TaskExecution.Phase | The corresponding Flyte task execution phase mapping to the provided connector state |