RedisAsyncAPIProtocol faststream.redis.schemas.proto.RedisAsyncAPIProtocol # Bases: AsyncAPIOperation title_ instance-attribute # title_ AsyncAPI object title. description_ instance-attribute # description_ AsyncAPI object description. include_in_schema instance-attribute # include_in_schema Whetever to include operation in AsyncAPI schema or not. name property # name Returns the name of the API operation. description property # description Returns the description of the API operation. channel_binding abstractmethod property # channel_binding schema # schema() Returns the schema of the API operation as a dictionary of channel names and channel objects. Source code in faststream/asyncapi/abc.py 30 31 32 33 34 35def schema(self) -> Dict[str, Channel]: """Returns the schema of the API operation as a dictionary of channel names and channel objects.""" if self.include_in_schema: return self.get_schema() else: return {} get_name abstractmethod # get_name() Name property fallback. Source code in faststream/asyncapi/abc.py 16 17 18 19@abstractmethod def get_name(self) -> str: """Name property fallback.""" raise NotImplementedError() get_description # get_description() Description property fallback. Source code in faststream/asyncapi/abc.py 26 27 28def get_description(self) -> Optional[str]: """Description property fallback.""" return None get_schema abstractmethod # get_schema() Generate AsyncAPI schema. Source code in faststream/asyncapi/abc.py 37 38 39 40@abstractmethod def get_schema(self) -> Dict[str, Channel]: """Generate AsyncAPI schema.""" raise NotImplementedError() get_payloads abstractmethod # get_payloads() Source code in faststream/redis/schemas/proto.py 17 18@abstractmethod def get_payloads(self) -> Any: ...