find_app
Find app by name.
def find_app(
app: str,
symbol_by_name: callable = symbol_by_name,
imp: callable = import_from_cwd
) - > Celery
Find app by name.
Parameters
| Name | Type | Description |
|---|---|---|
| app | str | The name of the application to find, which can be a module path, a symbol name, or a path containing a colon separator. |
| symbol_by_name | callable = symbol_by_name | A function used to resolve a string name into a Python symbol or attribute. |
| imp | callable = import_from_cwd | A function used to import modules, typically configured to look within the current working directory. |
Returns
| Type | Description |
|---|---|
Celery | The Celery application instance discovered from the provided module path or symbol name. |