Beispiel #1
0
def user_create(username: str, password: str, name: str):
    user = User(username=username, password=password, name=name)
    return user.save()
Beispiel #2
0
def save_user(username: str, password: str, name: str):
    user = User(username=username, password=password, name=name)
    return user.save()