Exemplo n.º 1
0
 def get(self, user: User):
     return user.serialize(), HTTPStatus.OK
Exemplo n.º 2
0
 def post(self, user: User):
     # send_confirmation_email(user=user)
     return user.serialize(), HTTPStatus.CREATED