maybe_unroll_group
Unroll group with only one member. This allows treating a group of a single task as if it was a single task without pre-knowledge.
def maybe_unroll_group(
group: Group
) - > Task|Group
Unroll group with only one member. This allows treating a group of a single task as if it was a single task without pre-knowledge.
Parameters
| Name | Type | Description |
|---|---|---|
| group | Group | The task group object to evaluate for potential unrolling into a single task. |
Returns
| Type | Description |
|---|---|
| `Task | Group` |