remove_repeating_from_task
Given task name, remove repeating module names.
def remove_repeating_from_task(
task_name: string,
s: string
) - > string
Given task name, remove repeating module names.
Parameters
| Name | Type | Description |
|---|---|---|
| task_name | string | The full name of the task, used to identify the module prefix to be stripped. |
| s | string | The string representation of a task chain or collection where repeating module names should be simplified. |
Returns
| Type | Description |
|---|---|
string | The modified string with redundant module prefixes removed from subsequent task calls. |