reserved
List of currently reserved tasks, not including scheduled/active.
def reserved(
state: object,
**kwargs: dict
) - > list
List of currently reserved tasks, not including scheduled/active.
Parameters
| Name | Type | Description |
|---|---|---|
| state | object | The current worker state object used to access reserved and active request sets. |
| **kwargs | dict | Additional keyword arguments passed to the command inspector. |
Returns
| Type | Description |
|---|---|
list | A list of dictionaries containing metadata and information for each task that is currently reserved but not yet active. |