code: def role(self):
          
          fut = self.execute(b'ROLE', encoding='utf-8')
          return wait_convert(fut, parse_role)
docs: Return the role of the server instance.
  
          Returns named tuples describing role of the instance.
          For fields information see http://redis.io/commands/role#output-format