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.
2.1.9
ActionID
Package: flyte.models
A class representing the ID of an Action, nested within a Run. This is used to identify a specific action on a task.
Parameters
class ActionID(
name: str,
run_name: str | None,
project: str | None,
domain: str | None,
org: str | None,
)| Parameter | Type | Description |
|---|---|---|
name |
str |
|
run_name |
str | None |
|
project |
str | None |
|
domain |
str | None |
|
org |
str | None |
Methods
| Method | Description |
|---|---|
create_random() |
|
new_sub_action() |
Create a new sub-run with the given name. |
new_sub_action_from() |
Make a deterministic name. |
unique_id_str() |
Generate a unique ID string for this action in the format:. |
create_random()
def create_random()new_sub_action()
def new_sub_action(
name: str | None,
) -> ActionIDCreate a new sub-run with the given name. If name is None, a random name will be generated.
| Parameter | Type | Description |
|---|---|---|
name |
str | None |
new_sub_action_from()
def new_sub_action_from(
task_call_seq: int,
task_hash: str,
input_hash: str,
group: str | None,
) -> ActionIDMake a deterministic name
| Parameter | Type | Description |
|---|---|---|
task_call_seq |
int |
|
task_hash |
str |
|
input_hash |
str |
|
group |
str | None |
unique_id_str()
def unique_id_str(
salt: str | None,
) -> strGenerate a unique ID string for this action in the format: {project}-{domain}-{run_name}-{action_name}
This is optimized for performance assuming all fields are available.
| Parameter | Type | Description |
|---|---|---|
salt |
str | None |
Returns: A unique ID string