def create_user(email, fullname, password): user = User() user.email = email user.fullname = fullname user.password = password db.save(user) return user
def create_user(email, fullname, hashed_pw): user = User() user.email = email user.fullname = fullname user.hashed_pw = hashed_pw return db.save(user)