def force_resolved(generator_function):
    """Turn a generator function into a normal function returning a list."""
    _ = None  # This line makes linters happy

    def resolver_function(*args, **kwargs):
        return list(generator_function(*args, **kwargs))

    return resolver_function