def _get_redis_commands(redis_client):
    """
    Retrieves a set of commands from Redis
    """
    commands = redis_client.execute_command('COMMAND')
    redis_commands = set()
    for command in commands:
        redis_commands.add(command[0])
    return redis_commands
