@@ -168,7 +168,7 @@ class initializer. In the case of conflicting arguments, querystring
168
168
warnings .warn (
169
169
DeprecationWarning (
170
170
'"auto_close_connection_pool" is deprecated '
171
- "since version 5.0.0 . "
171
+ "since version 5.0.1 . "
172
172
"Please create a ConnectionPool explicitly and "
173
173
"provide to the Redis() constructor instead."
174
174
)
@@ -247,7 +247,7 @@ def __init__(
247
247
warnings .warn (
248
248
DeprecationWarning (
249
249
'"auto_close_connection_pool" is deprecated '
250
- "since version 5.0.0 . "
250
+ "since version 5.0.1 . "
251
251
"Please create a ConnectionPool explicitly and "
252
252
"provide to the Redis() constructor instead."
253
253
)
@@ -566,7 +566,7 @@ async def aclose(self, close_connection_pool: Optional[bool] = None) -> None:
566
566
):
567
567
await self .connection_pool .disconnect ()
568
568
569
- @deprecated_function (version = "5.0.0 " , reason = "Use aclose() instead" , name = "close" )
569
+ @deprecated_function (version = "5.0.1 " , reason = "Use aclose() instead" , name = "close" )
570
570
async def close (self , close_connection_pool : Optional [bool ] = None ) -> None :
571
571
"""
572
572
Alias for aclose(), for backwards compatibility
@@ -803,12 +803,12 @@ async def aclose(self):
803
803
self .patterns = {}
804
804
self .pending_unsubscribe_patterns = set ()
805
805
806
- @deprecated_function (version = "5.0.0 " , reason = "Use aclose() instead" , name = "close" )
806
+ @deprecated_function (version = "5.0.1 " , reason = "Use aclose() instead" , name = "close" )
807
807
async def close (self ) -> None :
808
808
"""Alias for aclose(), for backwards compatibility"""
809
809
await self .aclose ()
810
810
811
- @deprecated_function (version = "5.0.0 " , reason = "Use aclose() instead" , name = "reset" )
811
+ @deprecated_function (version = "5.0.1 " , reason = "Use aclose() instead" , name = "reset" )
812
812
async def reset (self ) -> None :
813
813
"""Alias for aclose(), for backwards compatibility"""
814
814
await self .aclose ()
0 commit comments