by_name
Get backend class by name/alias.
def by_name(
backend: string = None,
loader: object = None,
extension_namespace: string = 'celery.result_backends'
) - > class
Get backend class by name/alias.
Parameters
| Name | Type | Description |
|---|---|---|
| backend | string = None | The name or alias of the backend to retrieve; defaults to 'disabled' if not provided. |
| loader | object = None | The loader instance used to check for backend overrides; defaults to the current application loader. |
| extension_namespace | string = 'celery.result_backends' | The entry point namespace used to discover available backend extensions. |
Returns
| Type | Description |
|---|---|
class | The backend class corresponding to the provided name or alias. |