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