gen_task_name
Generate task name from name/module pair.
def gen_task_name(
app: Celery,
name: string,
module_name: string
) - > string
Generate task name from name/module pair.
Parameters
| Name | Type | Description |
|---|---|---|
| app | Celery | The Celery application instance used to resolve the main module name configuration. |
| name | string | The base name of the task function or class. |
| module_name | string | The name of the module where the task is defined; defaults to "main" if not provided. |
Returns
| Type | Description |
|---|---|
string | The fully qualified task name, potentially rewritten to match the application's main module name if the task is defined in the entry point script. |