code: def smembers(key, host=None, port=None, db=None, password=None):
      '''
      Get members in a Redis set
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' redis.smembers foo_set
      '''
      server = _connect(host, port, db, password)
      return list(server.smembers(key)f smembers(key, host=None, port=None, db=None, password=None):
      '''
      Get members in a Redis set
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' redis.smembers foo_set
      '''
      server = _connect(host, port, db, password)
      return list(server.smembers(key))
docs: Get members in a Redis set
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' redis.smembers foo_set