示例#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