Skip to content

ServerBinding

faststream.asyncapi.schema.ServerBinding #

Bases: BaseModel

A class to represent server bindings.

amqp class-attribute instance-attribute #

amqp: Optional[ServerBinding] = None

kafka class-attribute instance-attribute #

kafka: Optional[ServerBinding] = None

model_config class-attribute instance-attribute #

model_config = {'extra': 'allow'}

nats class-attribute instance-attribute #

nats: Optional[ServerBinding] = None

redis class-attribute instance-attribute #

redis: Optional[ServerBinding] = None

sqs class-attribute instance-attribute #

sqs: Optional[ServerBinding] = None

Config #

extra class-attribute instance-attribute #

extra = 'allow'