prepare
Expand the :setting:task_routes setting.
def prepare(
routes: Union[Mapping, list, tuple, str, None]
) - > list
Expand the :setting:task_routes setting.
Parameters
| Name | Type | Description |
|---|---|---|
| routes | Union[Mapping, list, tuple, str, None] | The raw task routing configuration to be normalized and expanded into executable route objects. |
Returns
| Type | Description |
|---|---|
list | A list of expanded route objects, where string paths are lazily loaded and dictionary/sequence definitions are wrapped in MapRoute instances. |