Operation
faststream.specification.asyncapi.v3_0_0.schema.Operation #
Bases: BaseModel
A class to represent an operation.
messages class-attribute instance-attribute #
messages: list[Reference] = Field(default_factory=list)
from_sub classmethod #
Source code in faststream/specification/asyncapi/v3_0_0/schema/operations.py
59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 | |
from_pub classmethod #
Source code in faststream/specification/asyncapi/v3_0_0/schema/operations.py
77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 | |