Source code for faust.fixups.base

from typing import Iterable
from faust.types.fixups import AppT, FixupT

__all__ = ['Fixup']


[docs]class Fixup(FixupT): def __init__(self, app: AppT) -> None: self.app = app
[docs] def enabled(self) -> bool: return False
[docs] def autodiscover_modules(self) -> Iterable[str]: return []
[docs] def on_worker_init(self) -> None: ...