ListBatchPublisher
faststream.redis.publisher.usecase.ListBatchPublisher #
ListBatchPublisher(*, list, reply_to, headers, broker_middlewares, middlewares, schema_, title_, description_, include_in_schema)
Bases: ListPublisher
Source code in faststream/redis/publisher/usecase.py
request async
#
request(message=None, list=None, *, correlation_id=None, headers=None, timeout=30.0, _extra_middlewares=())
Source code in faststream/redis/publisher/usecase.py
setup #
add_prefix #
schema #
Returns the schema of the API operation as a dictionary of channel names and channel objects.
add_middleware #
create abstractmethod
staticmethod
#
get_name abstractmethod
#
get_description #
get_schema abstractmethod
#
get_payloads #
Source code in faststream/broker/publisher/usecase.py
set_test #
Turn publisher to testing mode.
Source code in faststream/broker/publisher/usecase.py
reset_test #
subscriber_property #
publish async
#
publish(message=(), list=None, *, correlation_id=None, headers=None, _extra_middlewares=(), **kwargs)