MCPcopy Index your code

hub / github.com/mosquito/aio-pika / functions

Functions699 in github.com/mosquito/aio-pika

↓ 88 callersFunctionget_random_name
(*args: Any)
tests/__init__.py:6
↓ 85 callersMethodchannel
(self)
aio_pika/channel.py:156
↓ 83 callersMethodpublish
Publish the message to the queue. `aio-pika` uses `publisher confirms`_ extension for message delivery. .. _publisher confirms: https
aio_pika/exchange.py:168
↓ 56 callersFunctiondeclare_queue
(connection, channel, add_cleanup)
tests/conftest.py:210
↓ 56 callersMethodget
( self, *, no_ack: bool = False, fail: Literal[True] = ..., timeout: T
aio_pika/queue.py:301
↓ 55 callersMethodadd
( self, callback: Union[ CallbackType[_Sender, _Params, Any], Callback
aio_pika/tools.py:142
↓ 50 callersMethoddeclare_queue
:param name: queue name :param durable: Durability (queue survive broker restart) :param exclusive: Makes this queue exclusi
aio_pika/channel.py:352
↓ 47 callersMethodcreate_channel
( connection: aio_pika.Connection, )
tests/test_amqp.py:40
↓ 41 callersMethodclose
(self)
tests/test_pool.py:41
↓ 40 callersFunctiondeclare_exchange
(connection, channel, add_cleanup)
tests/conftest.py:233
↓ 36 callersMethodack
Send basic.ack is used for positive acknowledgements .. note:: This method looks like a blocking-method, but actually it just
aio_pika/message.py:441
↓ 35 callersMethodwait
(self)
aio_pika/tools.py:308
↓ 34 callersMethodrun
()
tests/test_amqp.py:1833
↓ 32 callersMethodbind
A binding is a relationship between an exchange and a queue. This can be simply read as: the queue is interested in messages from this
aio_pika/queue.py:130
↓ 30 callersMethodcreate_task
Creates a new task for the worker
aio_pika/patterns/master.py:202
↓ 28 callersMethodset_qos
( self, prefetch_count: int = 0, prefetch_size: int = 0, global_: bool = False
aio_pika/channel.py:432
↓ 27 callersMethodinfo
(self)
aio_pika/message.py:233
↓ 27 callersMethodprocess
Context manager for processing the message >>> async def on_message_received(message: IncomingMessage): ... async with mes
aio_pika/message.py:403
↓ 23 callersMethodget_underlay_channel
(self)
aio_pika/channel.py:146
↓ 23 callersMethoditerator
Returns an iterator for async for expression. Full example: .. code-block:: python import aio_pika async d
aio_pika/queue.py:398
↓ 21 callersMethodconsume
Start to consuming the :class:`Queue`. :param timeout: :class:`asyncio.TimeoutError` will be raises when the Future w
aio_pika/queue.py:213
↓ 19 callersFunctionadd_cleanup
(event_loop)
tests/conftest.py:59
↓ 19 callersFunctionconnect
Make connection to the broker. Example: .. code-block:: python import aio_pika async def main(): connection =
aio_pika/connection.py:305
↓ 18 callersMethodclear
(self)
aio_pika/tools.py:193
↓ 18 callersMethodregister
Method creates a queue with name which equal of `method_name` argument. Then subscribes this queue. :param method_name: Method name
aio_pika/patterns/rpc.py:460
↓ 17 callersMethodcreate_future
(self)
aio_pika/patterns/rpc.py:122
↓ 16 callersMethoddelete
Delete the queue. :param if_unused: Perform delete only when unused :param if_empty: Perform delete only when empty :param ti
aio_pika/queue.py:370
↓ 15 callersMethodcreate
Create a container and return its ID.
tests/docker_client.py:231
↓ 14 callersMethoddeclare_exchange
Declare an exchange. :param name: string with exchange name or :class:`aio_pika.exchange.Exchange` instance :par
aio_pika/channel.py:264
↓ 12 callersMethodready
(self)
aio_pika/connection.py:228
↓ 12 callersMethodunbind
Remove binding from exchange for this :class:`Queue` instance :param exchange: :class:`aio_pika.exchange.Exchange` instance :param ro
aio_pika/queue.py:175
↓ 11 callersMethodcancel
This method cancels a consumer. This does not affect already delivered messages, but it does mean the server will not send any more me
aio_pika/queue.py:270
↓ 11 callersFunctionget_logger
(name: str)
aio_pika/log.py:7
↓ 10 callersMethodclose
(self)
aio_pika/pool.py:120
↓ 10 callersFunctioncreate_connection
(connection_fabric, event_loop, amqp_url)
tests/conftest.py:172
↓ 10 callersMethodreject
When `requeue=True` the message will be returned to queue. Otherwise, message will be dropped. .. note:: This method look
aio_pika/message.py:472
↓ 9 callersMethodunregister
Cancels subscription to the method-queue. :param func: Function
aio_pika/patterns/rpc.py:509
↓ 8 callersMethod__anext__
(self)
aio_pika/queue.py:584
↓ 8 callersMethodacquire
(self)
aio_pika/pool.py:75
↓ 8 callersFunctionconnect_robust
Make connection to the broker. Example: .. code-block:: python import aio_pika async def main(): connection =
aio_pika/robust_connection.py:261
↓ 8 callersMethodget_exchange
With ``ensure=True``, it's a shortcut for ``.declare_exchange(..., passive=True)``; otherwise, it returns an exchange instanc
aio_pika/channel.py:316
↓ 8 callersFunctionoptional
( value: V, func: Union[Callable[[V], T], Type[T]], default: Optional[D] = None, )
aio_pika/message.py:123
↓ 8 callersMethodtransaction
(self)
aio_pika/channel.py:485
↓ 7 callersFunctionensure_awaitable
( func: Callable[_Params, Union[T, Awaitable[T]]], )
aio_pika/tools.py:349
↓ 6 callersMethod_request
( self, method: str, path: str, body: dict | None = None, )
tests/docker_client.py:180
↓ 6 callersMethodget_queue
With ``ensure=True``, it's a shortcut for ``.declare_queue(..., passive=True)``; otherwise, it returns a queue instance witho
aio_pika/channel.py:396
↓ 6 callersMethodready
(self)
aio_pika/robust_channel.py:77
↓ 5 callersMethodconnect
(self, timeout=None, **kwargs)
tests/test_connect.py:32
↓ 5 callersFunctioncreate_connection
(connection_fabric, event_loop, amqp_url)
tests/test_amqp_robust_proxy.py:82
↓ 5 callersMethodcreate_worker
Creates a new :class:`Worker` instance.
aio_pika/patterns/master.py:188
↓ 5 callersFunctiongetter
()
tests/test_pool.py:21
↓ 5 callersMethodlock
Set lock flag to `True`
aio_pika/message.py:299
↓ 5 callersMethodput
(self, item: T)
aio_pika/pool.py:114
↓ 5 callersMethodremove
Remove a container.
tests/docker_client.py:284
↓ 5 callersMethodselect
( self, timeout: TimeoutType = None, )
aio_pika/transaction.py:36
↓ 4 callersMethodconnect
(self, timeout: TimeoutType = None)
aio_pika/robust_connection.py:198
↓ 4 callersFunctionconnection_fabric
()
tests/test_amqp_robust_proxy.py:65
↓ 4 callersMethodcreate_channel
(connection: aio_pika.Connection)
tests/test_amqp.py:2021
↓ 4 callersMethoddeclare
Declare queue. :param timeout: execution timeout :return: :class:`None`
aio_pika/queue.py:103
↓ 4 callersMethoddiscard
( self, callback: Union[ CallbackType[_Sender, _Params, Any], Callback
aio_pika/tools.py:177
↓ 4 callersMethodget
(self)
docs/source/examples/tornado-pubsub.py:14
↓ 4 callersFunctionget_exchange_name
(value: Any)
aio_pika/abc.py:989
↓ 4 callersMethodinitialize
(self, timeout: TimeoutType = None)
aio_pika/channel.py:201
↓ 4 callersFunctiontimeit
(message: str, iterations: int)
docs/source/examples/benchmark.py:12
↓ 3 callersMethod__aenter__
(self)
aio_pika/pool.py:131
↓ 3 callersMethod__aexit__
( self, exc_type: Optional[Type[BaseException]], exc_val: Optional[BaseException],
aio_pika/pool.py:134
↓ 3 callersMethod_format_routing_key
(self, method_name: str)
aio_pika/patterns/rpc.py:130
↓ 3 callersMethodcall
Call remote method and awaiting result. :param method_name: Name of method :param kwargs: Methos kwargs :param expiration:
aio_pika/patterns/rpc.py:409
↓ 3 callersMethodclose
( self, exc: Optional[aiormq.abc.ExceptionType] = asyncio.CancelledError, )
aio_pika/robust_connection.py:244
↓ 3 callersMethodcommit
( self, timeout: TimeoutType = None, )
aio_pika/transaction.py:55
↓ 3 callersFunctionconnection_fabric
(request)
tests/conftest.py:167
↓ 3 callersMethodcreate
Creates a new instance of :class:`aio_pika.patterns.RPC`. You should use this method instead of :func:`__init__`, because :func:`creat
aio_pika/patterns/rpc.py:230
↓ 3 callersFunctioncreate_task
( func: Callable[..., Union[Coroutine[Any, Any, T], Awaitable[T]]], *args: Any, loop: Optional[asy
aio_pika/tools.py:54
↓ 3 callersMethoddeserialize_message
( self, message: AbstractIncomingMessage, )
aio_pika/patterns/rpc.py:385
↓ 3 callersMethodfreeze
(self)
aio_pika/tools.py:205
↓ 3 callersMethodget_instance
(self, url, **kwargs)
tests/test_connection_params.py:60
↓ 3 callersMethodnack
( self, multiple: bool = False, requeue: bool = True, )
aio_pika/message.py:499
↓ 3 callersMethodparse
(self, value: Optional[str])
aio_pika/abc.py:771
↓ 3 callersMethodqueue_delete
( self, queue_name: str, timeout: TimeoutType = None, if_unused: bool = False,
aio_pika/channel.py:453
↓ 3 callersMethodready
(self)
aio_pika/abc.py:750
↓ 3 callersMethodremove
( self, callback: Union[ CallbackType[_Sender, _Params, Any], Callback
aio_pika/tools.py:161
↓ 3 callersMethodreopen
(self)
aio_pika/channel.py:251
↓ 3 callersMethodrestore
(self, channel: Any = None)
aio_pika/robust_channel.py:85
↓ 3 callersMethodrollback
( self, timeout: TimeoutType = None, )
aio_pika/transaction.py:46
↓ 3 callersMethodserialize_message
( self, payload: Any, message_type: RPCMessageType, correlation_id: Optional[s
aio_pika/patterns/rpc.py:391
↓ 3 callersMethodstart
Start a container.
tests/docker_client.py:266
↓ 2 callersMethod_get_connection
(self)
tests/docker_client.py:170
↓ 2 callersMethod_open
(self)
aio_pika/channel.py:176
↓ 2 callersMethodcall
(self, n: int)
docs/source/rabbitmq-tutorial/examples/6-rpc/rpc_client.py:38
↓ 2 callersMethodclose
( self, exc: Optional[aiormq.abc.ExceptionType] = ConnectionClosed, )
aio_pika/connection.py:68
↓ 2 callersMethodclose
( self, exc: Optional[aiormq.abc.ExceptionType] = None, )
aio_pika/channel.py:126
↓ 2 callersMethodclose
(self)
aio_pika/queue.py:452
↓ 2 callersMethodclosed
(self)
aio_pika/channel.py:143
↓ 2 callersMethodconnect
(self)
tests/docker_client.py:159
↓ 2 callersFunctionconnection_fabric
(request)
tests/test_amqps.py:16
↓ 2 callersMethodconsume
( self, callback: Callable[[AbstractIncomingMessage], Awaitable[Any]], no_ack: bool =
aio_pika/robust_queue.py:121
↓ 2 callersMethodconsume
Consume with retry on channel errors. Waits for channel to be ready before consuming, with backoff delay between retries to prevent C
aio_pika/robust_queue.py:192
↓ 2 callersMethodconsume
(self)
aio_pika/queue.py:556
↓ 2 callersFunctionconsumer
()
tests/test_amqp_robust_proxy.py:767
↓ 2 callersFunctioncreate_direct_connection
(request, event_loop, amqp_direct_url)
tests/test_amqp_robust_proxy.py:70
next →1–100 of 699, ranked by callers