Fix typo in deprecation warning (#1866)

Help when grepping through warnings.
This commit is contained in:
Jochen Kupperschmidt 2023-03-12 03:42:14 +01:00 committed by GitHub
parent 64e202ea19
commit 60164c5107
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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: