def get_args(func):
    if hasattr(func, 'argspec'):
        return func.argspec
    return inspect.getargspec(func).args
The handler should expect two arguments: `response` and `oauth_token`.
dataset/ETHPy150Open eBay/bayesian-belief-networks/bayesian/utils.py/get_args--crossover with--dataset/ETHPy150Open joelverhagen/flask-rauth/flask_rauth.py/RauthOAuth1.authorized_handler