class_docstr: A class containing the commands specific to redis sentinel. This class is
  to be used as a mixin.
class_docstr_tok: ["A","class","containing","the","commands","specific","to","redis","sentinel",".","This","class","is","to","be","used","as","a","mixin","."]
docstr: Force Sentinel to rewrite its configuration on disk, including the
  current Sentinel state.
  
  Normally Sentinel rewrites the configuration every time something
  changes in its state (in the context of the subset of the state which
  is persisted on disk across restart).
  However sometimes it is possible that the configuration file is lost
  because of operation errors, disk failures, package upgrade scripts or
  configuration managers. In those cases a way to to force Sentinel to
  rewrite the configuration file is handy.
  
  This command works even if the previous configuration file is
  completely missing.
docstr_tok: ["Force","Sentinel","to","rewrite","its","configuration","on","disk",",","including","the","current","Sentinel","state",".","Normally","Sentinel","rewrites","the","configuration","every","time","something","changes","in","its","state","(","in","the","context","of","the","subset","of","the","state","which","is","persisted","on","disk","across","restart",")",".","However","sometimes","it","is","possible","that","the","configuration","file","is","lost","because","of","operation","errors",",","disk","failures",",","package","upgrade","scripts","or","configuration","managers",".","In","those","cases","a","way","to","to","force","Sentinel","to","rewrite","the","configuration","file","is","handy",".","This","command","works","even","if","the","previous","configuration","file","is","completely","missing","."]
code: def sentinel_flushconfig(self):
      """
      Force Sentinel to rewrite its configuration on disk, including the
      current Sentinel state.
  
      Normally Sentinel rewrites the configuration every time something
      changes in its state (in the context of the subset of the state which
      is persisted on disk across restart).
      However sometimes it is possible that the configuration file is lost
      because of operation errors, disk failures, package upgrade scripts or
      configuration managers. In those cases a way to to force Sentinel to
      rewrite the configuration file is handy.
  
      This command works even if the previous configuration file is
      completely missing.
      """
      return self.execute_command("SENTINEL FLUSHCONFIG")
  
file_path: catboost/contrib/python/redis/py3/redis/commands/sentinel.py
imports: import warnings
label_desc: Use image node_id 13 for calling the SentinelCommands obj's underlying member method code with example usage: obj.sentinel_flushconfig() and returns: self