def _insert_data(target_session, table, data):
    """
    Inserts the data into the target system. Disables integrity checks 
    prior to inserting.

    Args:
        target_session (obj): SQLAlchemy session.
        table (obj): SQLAlchemy table object.
        data (obj): SQLAlchemy data object.
    """
    if data:
        target_session.execute('SET session_replication_role = replica;')
        target_session.execute(table.insert(), data)
        target_session.execute('SET session_replication_role = DEFAULT;')
        target_session.commit()
