human
Complete this python program:
def commit_manually(using=None):
assistant
#Here is the Python code you requested.

    """Decorator that activates manual transaction control. It just disables
    automatic transaction control and doesn\t do any commit/rollback of its
    own -- it\s up to the user to call the commit and rollback functions
    themselves.
    """
    warnings.warn('commit_manually    is    deprecated    in    favor    of    set_autocommit.', PendingDeprecationWarning, stacklevel=2)
    def entering(using):
        enter_transaction_management(using=using)
    def exiting(exc_type, using):
        leave_transaction_management(using=using)
    return _transaction_func(entering, exiting, using)