Skip to content

Commit ae35067

Browse files
author
Omer Katz
committed
Change remaining references to kombu.async into kombu.asynchronous.
1 parent 1a941f9 commit ae35067

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

docs/userguide/configuration.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2467,7 +2467,7 @@ Name of the consumer class used by the worker.
24672467
``worker_timer``
24682468
~~~~~~~~~~~~~~~~
24692469
2470-
Default: ``"kombu.async.hub.timer:Timer"``.
2470+
Default: ``"kombu.asynchronous.hub.timer:Timer"``.
24712471
24722472
Name of the ETA scheduler class used by the worker.
24732473
Default is or set by the pool implementation.

docs/userguide/extending.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ Attributes
148148

149149
.. attribute:: hub
150150

151-
Event loop object (:class:`~kombu.async.Hub`). You can use
151+
Event loop object (:class:`~kombu.asynchronous.Hub`). You can use
152152
this to register callbacks in the event loop.
153153

154154
This is only supported by async I/O enabled transports (amqp, redis),
@@ -179,7 +179,7 @@ Attributes
179179

180180
.. attribute:: timer
181181

182-
:class:`~kombu.async.timer.Timer` used to schedule functions.
182+
:class:`~kombu.asynchronous.timer.Timer` used to schedule functions.
183183

184184
Your worker bootstep must require the Timer bootstep to use this:
185185

@@ -349,7 +349,7 @@ Attributes
349349

350350
.. attribute:: hub
351351

352-
Event loop object (:class:`~kombu.async.Hub`). You can use
352+
Event loop object (:class:`~kombu.asynchronous.Hub`). You can use
353353
this to register callbacks in the event loop.
354354

355355
This is only supported by async I/O enabled transports (amqp, redis),
@@ -873,7 +873,7 @@ Worker API
873873
==========
874874

875875

876-
:class:`~kombu.async.Hub` - The workers async event loop
876+
:class:`~kombu.asynchronous.Hub` - The workers async event loop
877877
--------------------------------------------------------
878878
:supported transports: amqp, redis
879879

t/unit/worker/test_loops.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
import pytest
77
from case import Mock
8-
from kombu.async import ERR, READ, WRITE, Hub
8+
from kombu.asynchronous import ERR, READ, WRITE, Hub
99

1010
from celery.bootsteps import CLOSE, RUN
1111
from celery.exceptions import (InvalidTaskError, WorkerLostError,

t/unit/worker/test_worker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1047,7 +1047,7 @@ def test_Pool_pool_no_sem(self):
10471047
assert w.process_task is w._process_task
10481048

10491049
def test_Pool_create(self):
1050-
from kombu.async.semaphore import LaxBoundedSemaphore
1050+
from kombu.asynchronous.semaphore import LaxBoundedSemaphore
10511051
w = Mock()
10521052
w._conninfo.connection_errors = w._conninfo.channel_errors = ()
10531053
w.hub = Mock()

0 commit comments

Comments
 (0)