human
I wrote the below code

    def _commit_manually(*args, **kw):
        try:
            enter_transaction_management()
            managed(True)
            return func(*args, **kw)
        finally:
            leave_transaction_management()
    return _commit_manually

What's a good function header?

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

def commit_manually(func):