Skip to content

AsyncAPIOperation

faststream.asyncapi.base.AsyncAPIOperation #

A class representing an asynchronous API operation.

METHOD DESCRIPTION
schema

returns the schema of the API operation as a dictionary of channel names and channel objects

Note

The above docstring is autogenerated by docstring-gen library (https://docstring-gen.airt.ai)

name #

name() -> str
Source code in faststream/asyncapi/base.py
@abstractproperty
def name(self) -> str:
    raise NotImplementedError()

schema #

schema() -> Dict[str, Channel]
Source code in faststream/asyncapi/base.py
def schema(self) -> Dict[str, Channel]:  # pragma: no cover
    return {}

Last update: 2023-11-13