group
Create a new group with the given name. The method is intended to be used as a context manager.
@contextmanager
def group(name: str): ...
Create a new group with the given name. The method is intended to be used as a context manager.
Parameters
| Name | Type | Description |
|---|---|---|
| name | str | The name of the group under which enclosed tasks will be grouped |
Returns
| Type | Description |
|---|---|
Iterator[None] | Yields control within the context manager block with the group context applied. |