The page you navigated to () does not exist, so we brought you to the closest page to it.
You have switched from the to the variant of this site. There is no equivalent of . We have taken you to the closest page in the variant.
1.16.16
flytekit.extend.backend.utils
Directory
Methods
| Method | Description |
|---|---|
convert_to_flyte_phase() |
Convert the state from the connector to the phase in flyte. |
get_agent_secret() |
|
get_connector_secret() |
|
is_terminal_phase() |
Return true if the phase is terminal. |
mirror_async_methods() |
|
render_task_template() |
Methods
convert_to_flyte_phase()
def convert_to_flyte_phase(
state: str,
) -> google.protobuf.internal.enum_type_wrapper.EnumTypeWrapperConvert the state from the connector to the phase in flyte.
| Parameter | Type | Description |
|---|---|---|
state |
str |
get_agent_secret()
def get_agent_secret(
secret_key: str,
) -> str| Parameter | Type | Description |
|---|---|---|
secret_key |
str |
get_connector_secret()
def get_connector_secret(
secret_key: str,
) -> str| Parameter | Type | Description |
|---|---|---|
secret_key |
str |
is_terminal_phase()
def is_terminal_phase(
phase: google.protobuf.internal.enum_type_wrapper.EnumTypeWrapper,
) -> boolReturn true if the phase is terminal.
| Parameter | Type | Description |
|---|---|---|
phase |
google.protobuf.internal.enum_type_wrapper.EnumTypeWrapper |
mirror_async_methods()
def mirror_async_methods(
func: typing.Callable,
kwargs,
) -> typing.Coroutine| Parameter | Type | Description |
|---|---|---|
func |
typing.Callable |
|
kwargs |
**kwargs |
render_task_template()
def render_task_template(
tt: flytekit.models.task.TaskTemplate,
file_prefix: str,
) -> flytekit.models.task.TaskTemplate| Parameter | Type | Description |
|---|---|---|
tt |
flytekit.models.task.TaskTemplate |
|
file_prefix |
str |