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. |