@@ -442,6 +442,10 @@ def get(self, *ids):
442
442
443
443
return self .execute_command (MGET_CMD , self .index_name , * ids )
444
444
445
+ @deprecated_function (
446
+ version = "8.0.0" ,
447
+ reason = "deprecated since Redis 8.0, call info from core module instead" ,
448
+ )
445
449
def info (self ):
446
450
"""
447
451
Get info an stats about the the current index, including the number of
@@ -912,6 +916,10 @@ def syndump(self):
912
916
913
917
914
918
class AsyncSearchCommands (SearchCommands ):
919
+ @deprecated_function (
920
+ version = "8.0.0" ,
921
+ reason = "deprecated since Redis 8.0, call info from core module instead" ,
922
+ )
915
923
async def info (self ):
916
924
"""
917
925
Get info an stats about the the current index, including the number of
@@ -1015,6 +1023,10 @@ async def spellcheck(self, query, distance=None, include=None, exclude=None):
1015
1023
1016
1024
return self ._parse_results (SPELLCHECK_CMD , res )
1017
1025
1026
+ @deprecated_function (
1027
+ version = "8.0.0" ,
1028
+ reason = "deprecated since Redis 8.0, call config_set from core module instead" ,
1029
+ )
1018
1030
async def config_set (self , option : str , value : str ) -> bool :
1019
1031
"""Set runtime configuration option.
1020
1032
@@ -1029,6 +1041,10 @@ async def config_set(self, option: str, value: str) -> bool:
1029
1041
raw = await self .execute_command (* cmd )
1030
1042
return raw == "OK"
1031
1043
1044
+ @deprecated_function (
1045
+ version = "8.0.0" ,
1046
+ reason = "deprecated since Redis 8.0, call config_get from core module instead" ,
1047
+ )
1032
1048
async def config_get (self , option : str ) -> str :
1033
1049
"""Get runtime configuration option value.
1034
1050
0 commit comments