Skip to content

CorrelationId

faststream.asyncapi.schema.CorrelationId #

Bases: BaseModel

A class to represent a correlation ID.

ATTRIBUTE DESCRIPTION
description

optional description of the correlation ID

location

location of the correlation ID

Configurations

extra : allows extra fields in the correlation ID model

description class-attribute instance-attribute #

description = None

location instance-attribute #

location

model_config class-attribute instance-attribute #

model_config = {'extra': 'allow'}

Config #

extra class-attribute instance-attribute #

extra = 'allow'