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.
0.2.2
flyteplugins.union.cli
Directory
Methods
| Method | Description |
|---|---|
edit_with_retry() |
Open an editor and retry or save to file on failure. |
Methods
edit_with_retry()
def edit_with_retry(
yaml_text: str,
apply_fn,
console,
noun: str,
)Open an editor and retry or save to file on failure.
| Parameter | Type | Description |
|---|---|---|
yaml_text |
str |
Initial YAML content to edit. |
apply_fn |
Callable that takes the edited YAML string and applies it. Should raise on failure. | |
console |
Rich console for output. | |
noun |
str |
Name of the resource for messages (e.g. “role”, “policy”). |
Returns: The result of apply_fn on success, or None if cancelled.