Skip to content

Channel

faststream.asyncapi.schema.channels.Channel #

Bases: BaseModel

A class to represent a channel.

Configurations

model_config : configuration for the model (only applicable for Pydantic version 2) Config : configuration for the class (only applicable for Pydantic version 1)

Note

The above docstring is autogenerated by docstring-gen library (https://docstring-gen.airt.ai)

bindings class-attribute instance-attribute #

bindings: Optional[ChannelBinding] = None

description class-attribute instance-attribute #

description: Optional[str] = None

model_config class-attribute instance-attribute #

model_config = {'extra': 'allow'}

parameters class-attribute instance-attribute #

parameters: Optional[Parameter] = None

publish class-attribute instance-attribute #

publish: Optional[Operation] = None

servers class-attribute instance-attribute #

servers: Optional[List[str]] = None

subscribe class-attribute instance-attribute #

subscribe: Optional[Operation] = None

Config #

extra class-attribute instance-attribute #

extra = 'allow'

Last update: 2023-11-13