From 60164c510721c84d9500a25b0f7bd186510cbca0 Mon Sep 17 00:00:00 2001 From: Jochen Kupperschmidt Date: Sun, 12 Mar 2023 03:42:14 +0100 Subject: [PATCH] Fix typo in deprecation warning (#1866) Help when grepping through warnings. --- rq/connections.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rq/connections.py b/rq/connections.py index 792eb4f..0d39e43 100644 --- a/rq/connections.py +++ b/rq/connections.py @@ -32,7 +32,7 @@ def Connection(connection: Optional['Redis'] = None): # noqa connection (Optional[Redis], optional): A Redis Connection instance. Defaults to None. """ warnings.warn( - "The Conneciton context manager is deprecated. Use the `connection` parameter instead.", + "The Connection context manager is deprecated. Use the `connection` parameter instead.", DeprecationWarning, ) if connection is None: