def METHOD_NAME(session, transaction, connection):
    # It's okay to key on the session object here, because each session
    # binds to only one engine/connection. If this changes in the
    # future such that a session may encompass multiple engines, then
    # we'll have to get more sophisticated.
    transaction_start_map[session] = time.time()