def bulk_load(data, db: Session):
    for i in data:
        new_post = models.User(name=i[0], email=i[1], password=hashing.Hash.bcrypt(i[2]))
        db.add(new_post)
        db.commit()
        db.refresh(new_post)
    return len(data)
def bulk_load(data, db: Session):
    for i in data:
        new_post = models.User(name=i[0], email=i[1], password=hashing.Hash.bcrypt(i[2]))
        db.add(new_post)
        db.commit()
        db.refresh(new_post)
    return len(data)