2.0.0b53
flyte.connectors.utils
Directory
Methods
| Method | Description |
|---|---|
convert_to_flyte_phase() |
Convert the state from the connector to the phase in flyte. |
is_terminal_phase() |
Return true if the phase is terminal. |
print_metadata() |
Methods
convert_to_flyte_phase()
def convert_to_flyte_phase(
state: str,
) -> <google.protobuf.internal.enum_type_wrapper.EnumTypeWrapper object at 0x10d282b10>Convert the state from the connector to the phase in flyte.
| Parameter | Type | Description |
|---|---|---|
state |
str |
is_terminal_phase()
def is_terminal_phase(
phase: <google.protobuf.internal.enum_type_wrapper.EnumTypeWrapper object at 0x10d282b10>,
) -> boolReturn true if the phase is terminal.
| Parameter | Type | Description |
|---|---|---|
phase |
<google.protobuf.internal.enum_type_wrapper.EnumTypeWrapper object at 0x10d282b10> |
print_metadata()
def print_metadata()