Operation
faststream.specification.asyncapi.v2_6_0.schema.Operation #
Bases: BaseModel
A class to represent an operation.
from_sub classmethod #
from_sub(operation: Operation) -> Self
Source code in faststream/specification/asyncapi/v2_6_0/schema/operations.py
51 52 53 54 55 56 57 58 59 60 61 | |
from_pub classmethod #
from_pub(operation: Operation) -> Self
Source code in faststream/specification/asyncapi/v2_6_0/schema/operations.py
63 64 65 66 67 68 69 70 71 72 73 | |