Пример #1
0
 def get(self):
     return {
         "data":
         UserService.get_by_uuid(uuid=g.user_info["id"],
                                 uow=current_app.context),
         "message":
         "success"
     }, 200
Пример #2
0
 def get(self, uuid: str):
     return {
                "data": UserService.get_by_uuid(uuid, current_app.context),
                "message": "success"
            }, 200