faust.fixups.base

Fixups - Base implementation.

class faust.fixups.base.Fixup(app: AppT)[source]

Base class for fixups.

Fixups are things that hook into Faust to make things work for other frameworks, such as Django.

enabled() bool[source]

Return if fixup should be enabled in this environment.

Return type:

bool

autodiscover_modules() Iterable[str][source]

Return list of additional autodiscover modules.

Return type:

_GenericAlias[str]

on_worker_init() None[source]

Call when initializing worker/CLI commands.

Return type:

None