Пример #1
0
 def get(self, user: User):
     return user.serialize(), HTTPStatus.OK
Пример #2
0
 def post(self, user: User):
     # send_confirmation_email(user=user)
     return user.serialize(), HTTPStatus.CREATED