human
Here's a good function header given the following:
I wrote the below code

    def wrapper_generator(*args, **kwargs):
        generator_obj = generator(*args, **kwargs)
        readonly_connection.connection().set_django_connection()
        try:
            first_value = generator_obj.next()
        finally:
            readonly_connection.connection().unset_django_connection()
        (yield first_value)
        while True:
            (yield generator_obj.next())
    wrapper_generator.__name__ = generator.__name__
    return wrapper_generator

What's a good function header?
assistant
#Here's a good function header.

def _wrap_generator_with_readonly(generator):