mirror of https://github.com/rq/rq.git
Fix typo in deprecation warning (#1866)
Help when grepping through warnings.
This commit is contained in:
parent
64e202ea19
commit
60164c5107
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue