get_app_broker_channels
faststream.asyncapi.generate.get_app_broker_channels #
Get the broker channels for an application.
PARAMETER | DESCRIPTION |
---|---|
app | An instance of FastStream or StreamRouter. TYPE: |
RETURNS | DESCRIPTION |
---|---|
Dict[str, Channel] | A dictionary of channel names and their corresponding Channel objects. |
RAISES | DESCRIPTION |
---|---|
AssertionError | If the app does not have a broker. |
Note
The above docstring is autogenerated by docstring-gen library (https://docstring-gen.airt.ai)
Source code in faststream/asyncapi/generate.py
Last update: 2023-11-13