We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d466426 commit 958f4dbCopy full SHA for 958f4db
microbootstrap/config/faststream.py
@@ -13,12 +13,14 @@
13
)
14
from faststream._internal.broker import BrokerUsecase
15
from faststream._internal.context import ContextRepo
16
+ from faststream.asgi.types import ASGIApp
17
from faststream.specification.base import SpecificationFactory
18
19
20
@dataclasses.dataclass
21
class FastStreamConfig:
22
broker: BrokerUsecase[typing.Any, typing.Any] | None = None
23
+ asgi_routes: typing.Sequence[tuple[str, ASGIApp]] = ()
24
logger: LoggerProto | None = None
25
provider: Provider | None = None
26
serializer: SerializerProto | None = None
0 commit comments