def _getargspec(func):
        args, varargs, varkw, defaults, kwonlyargs, _, ann = \
            inspect.getfullargspec(func)  # pylint: disable=no-member
        if kwonlyargs or ann:
            raise ValueError('Function has keyword-only arguments or annotations'
                             ', use getfullargspec() API which can support them')
        return _ArgSpec(args, varargs, varkw, defaults)
Ensures that the request url is valid.
dataset/ETHPy150Open saltstack/salt/salt/utils/args.py/_getargspec--crossover with--dataset/ETHPy150Open JuhaniImberg/tmc.py/tmc/api.py/API._make_url