quickie.lazy_task
- quickie.lazy_task(name: str) TaskTypeOrProxy
Loads a task lazily by name.
This is useful in cases where the task is not yet defined, or to avoid circular imports.
Note that the task must be registered in the namespace before running it. Thus cannot lazily load tasks from external unimported modules.
- Parameters:
name – The name of the task.
- Returns:
A lazy task proxy.