'è·ååšéšçšæ·æ°æ®: curl http://127.0.0.1:5000/users -X GET -d "limit=2&offset=0&sortby=name" -H "Authorization: token fejiasdfhu"'

def get(self):

    args = parser_get.parse_args()
    users = session.query(User)
    if ('sortby' in args):
        users = users.order_by((User.name if (args['sortby'] == 'name') else User.age))
    if ('offset' in args):
        users = users.offset(args['offset'])
    if ('limit' in args):
        users = users.limit(args['limit'])
    return ([get_json(user) for user in users], 200)
