def get_request_arguments(*names, args_dict=None, invert=False):
    'Get arguments from args_dict or request if they match given names.\n\n    :param *names: names of arguments\n    :param dict args_dict: dict of arguments\n    :param bool invert: True if names should be exclueded instead\n    :return dict: dict of arguments\n    '
    if (args_dict is None):
        args_dict = parse_request()
    if invert:
        return {k: v for (k, v) in args_dict.items() if (k not in names)}
    return {k: v for (k, v) in args_dict.items() if (k in names)}
Get arguments from args_dict or request if they match given names.

:param *names: names of arguments
:param dict args_dict: dict of arguments
:param bool invert: True if names should be exclueded instead
:return dict: dict of arguments
def get_request_arguments(*names, args_dict=None, invert=False):
    'Get arguments from args_dict or request if they match given names.\n\n    :param *names: names of arguments\n    :param dict args_dict: dict of arguments\n    :param bool invert: True if names should be exclueded instead\n    :return dict: dict of arguments\n    '
    if (args_dict is None):
        args_dict = parse_request()
    if invert:
        return {k: v for (k, v) in args_dict.items() if (k not in names)}
    return {k: v for (k, v) in args_dict.items() if (k in names)}