Skip to main content

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

NameTypeDescription
appstrThe name of the application to find, which can be a module path, a symbol name, or a path containing a colon separator.
symbol_by_namecallable = symbol_by_nameA function used to resolve a string name into a Python symbol or attribute.
impcallable = import_from_cwdA function used to import modules, typically configured to look within the current working directory.

Returns

TypeDescription
CeleryThe Celery application instance discovered from the provided module path or symbol name.