convert_to_flyte_phase
Convert the state from the connector to the phase in flyte.
def convert_to_flyte_phase(
state: str
) - > TaskExecution.Phase
Convert the state from the connector to the phase in flyte.
Parameters
| Name | Type | Description |
|---|---|---|
| state | str | The state string from the connector to be converted. This string is case-insensitive and will be normalized to lowercase for comparison. |
Returns
| Type | Description |
|---|---|
TaskExecution.Phase | The corresponding Flyte task execution phase. |