@@ -442,6 +442,10 @@ def get(self, *ids):
442442
443443        return  self .execute_command (MGET_CMD , self .index_name , * ids )
444444
445+     @deprecated_function ( 
446+         version = "8.0.0" , 
447+         reason = "deprecated since Redis 8.0, call info from core module instead" , 
448+     ) 
445449    def  info (self ):
446450        """ 
447451        Get info an stats about the the current index, including the number of 
@@ -912,6 +916,10 @@ def syndump(self):
912916
913917
914918class  AsyncSearchCommands (SearchCommands ):
919+     @deprecated_function ( 
920+         version = "8.0.0" , 
921+         reason = "deprecated since Redis 8.0, call info from core module instead" , 
922+     ) 
915923    async  def  info (self ):
916924        """ 
917925        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):
10151023
10161024        return  self ._parse_results (SPELLCHECK_CMD , res )
10171025
1026+     @deprecated_function ( 
1027+         version = "8.0.0" , 
1028+         reason = "deprecated since Redis 8.0, call config_set from core module instead" , 
1029+     ) 
10181030    async  def  config_set (self , option : str , value : str ) ->  bool :
10191031        """Set runtime configuration option. 
10201032
@@ -1029,6 +1041,10 @@ async def config_set(self, option: str, value: str) -> bool:
10291041        raw  =  await  self .execute_command (* cmd )
10301042        return  raw  ==  "OK" 
10311043
1044+     @deprecated_function ( 
1045+         version = "8.0.0" , 
1046+         reason = "deprecated since Redis 8.0, call config_get from core module instead" , 
1047+     ) 
10321048    async  def  config_get (self , option : str ) ->  str :
10331049        """Get runtime configuration option value. 
10341050
0 commit comments