def load_user_from_request(request):
    user = None
    if hasattr(request, 'oauth'):
        user = request.oauth.user
    else:
        is_valid, oauth = oauth2.verify_request(scopes=[])
        if is_valid:
            user = oauth.user
    return user
order_by in query params should sort by valid values.
dataset/ETHPy150Open frol/flask-restplus-server-example/app/modules/auth/__init__.py/load_user_from_request--crossover with--dataset/ETHPy150Open ofa/connect/open_connect/media/tests/test_views.py/URLPopularityViewTest.test_order_by_accepts_valid_values