ListPublisher
faststream.redis.publisher.usecase.ListPublisher #
ListPublisher(*, list, reply_to, headers, broker_middlewares, middlewares, schema_, title_, description_, include_in_schema)
Bases: LogicPublisher
Source code in faststream/redis/publisher/usecase.py
setup #
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 #
add_prefix #
publish async
#
publish(message=None, list=None, reply_to='', headers=None, correlation_id=None, *, rpc=False, rpc_timeout=30.0, raise_timeout=False, _extra_middlewares=(), **kwargs)
Source code in faststream/redis/publisher/usecase.py
322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 |
|
request async
#
request(message=None, list=None, *, correlation_id=None, headers=None, timeout=30.0, _extra_middlewares=())