faust.types.settings.sections

class faust.types.settings.sections.SectionType(value)[source]

An enumeration.

AGENT = 'AGENT'
BROKER = 'BROKER'
COMMON = 'COMMON'
CONSUMER = 'CONSUMER'
EXTENSION = 'EXTENSION'
PRODUCER = 'PRODUCER'
RPC = 'RPC'
SERIALIZATION = 'SERIALIZATION'
STREAM = 'STREAM'
TABLE = 'TABLE'
TOPIC = 'TOPIC'
WEB_SERVER = 'WEB_SERVER'
WORKER = 'WORKER'
class faust.types.settings.sections.Section(type: SectionType, title: str, refid: str, *, content: Optional[str] = None)[source]

Configuration section.

type: SectionType
title: str
refid: str
content: Optional[str]
setting(param: Type[_Param[IT, OT]], **kwargs: Any) Callable[[Callable], OT][source]

Decorate to define new setting in this section.

Return type:

_CallableGenericAlias[_CallableType, ~OT]