def METHOD_NAME(n):
    """Individual INSERT/COMMIT pairs using the "bulk" API with dictionaries"""
    for i in range(n):
        session = Session(bind=engine)
        session.bulk_insert_mappings(
            Customer,
            [
                dict(
                    name="customer name %d" % i,
                    description="customer description %d" % i,
                )
            ],
        )
        session.commit()