@@ -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
)
@@ -569,7 +569,7 @@ async def aclose(self, close_connection_pool: Optional[bool] = None) -> None:
569
569
):
570
570
await self .connection_pool .disconnect ()
571
571
572
- @deprecated_function (version = "5.0.0 " , reason = "Use aclose() instead" , name = "close" )
572
+ @deprecated_function (version = "5.0.1 " , reason = "Use aclose() instead" , name = "close" )
573
573
async def close (self , close_connection_pool : Optional [bool ] = None ) -> None :
574
574
"""
575
575
Alias for aclose(), for backwards compatibility
@@ -807,12 +807,12 @@ async def aclose(self):
807
807
self .patterns = {}
808
808
self .pending_unsubscribe_patterns = set ()
809
809
810
- @deprecated_function (version = "5.0.0 " , reason = "Use aclose() instead" , name = "close" )
810
+ @deprecated_function (version = "5.0.1 " , reason = "Use aclose() instead" , name = "close" )
811
811
async def close (self ) -> None :
812
812
"""Alias for aclose(), for backwards compatibility"""
813
813
await self .aclose ()
814
814
815
- @deprecated_function (version = "5.0.0 " , reason = "Use aclose() instead" , name = "reset" )
815
+ @deprecated_function (version = "5.0.1 " , reason = "Use aclose() instead" , name = "reset" )
816
816
async def reset (self ) -> None :
817
817
"""Alias for aclose(), for backwards compatibility"""
818
818
await self .aclose ()
0 commit comments