human
I wrote the below code

    def _close_db_connections(*args, **kwargs):
        ret = None
        try:
            ret = func(*args, **kwargs)
        finally:
            from django.db import connections
            for conn in connections.all():
                conn.close()
        return ret
    return _close_db_connections

What's a good function header?

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

def close_db_connections(func, *args, **kwargs):