@@ -168,7 +168,7 @@ class initializer. In the case of conflicting arguments, querystring
168168 warnings .warn (
169169 DeprecationWarning (
170170 '"auto_close_connection_pool" is deprecated '
171- "since version 5.0.0 . "
171+ "since version 5.0.1 . "
172172 "Please create a ConnectionPool explicitly and "
173173 "provide to the Redis() constructor instead."
174174 )
@@ -247,7 +247,7 @@ def __init__(
247247 warnings .warn (
248248 DeprecationWarning (
249249 '"auto_close_connection_pool" is deprecated '
250- "since version 5.0.0 . "
250+ "since version 5.0.1 . "
251251 "Please create a ConnectionPool explicitly and "
252252 "provide to the Redis() constructor instead."
253253 )
@@ -566,7 +566,7 @@ async def aclose(self, close_connection_pool: Optional[bool] = None) -> None:
566566 ):
567567 await self .connection_pool .disconnect ()
568568
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" )
570570 async def close (self , close_connection_pool : Optional [bool ] = None ) -> None :
571571 """
572572 Alias for aclose(), for backwards compatibility
@@ -804,12 +804,12 @@ async def aclose(self):
804804 self .patterns = {}
805805 self .pending_unsubscribe_patterns = set ()
806806
807- @deprecated_function (version = "5.0.0 " , reason = "Use aclose() instead" , name = "close" )
807+ @deprecated_function (version = "5.0.1 " , reason = "Use aclose() instead" , name = "close" )
808808 async def close (self ) -> None :
809809 """Alias for aclose(), for backwards compatibility"""
810810 await self .aclose ()
811811
812- @deprecated_function (version = "5.0.0 " , reason = "Use aclose() instead" , name = "reset" )
812+ @deprecated_function (version = "5.0.1 " , reason = "Use aclose() instead" , name = "reset" )
813813 async def reset (self ) -> None :
814814 """Alias for aclose(), for backwards compatibility"""
815815 await self .aclose ()
0 commit comments