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: Returns a (host, port) pair for the given ``service_name``
docstr_tok: ["Returns","a","(","host",",","port",")","pair","for","the","given","``","service_name","``"]
code: def sentinel_get_master_addr_by_name(self, service_name):
      """Returns a (host, port) pair for the given ``service_name``"""
      return self.execute_command(
          "SENTINEL GET-MASTER-ADDR-BY-NAME", service_name
      )
  
file_path: catboost/contrib/python/redis/py3/redis/commands/sentinel.py
imports: import warnings
label_desc: Use image node_id 2 for calling the SentinelCommands obj's underlying member method code with example usage: obj.sentinel_get_master_addr_by_name(service_name) and returns: self