

def _fetch_arguments(handler, method):
    'Get the arguments depending on the type of HTTP method.'
    if (method.__name__ == 'get'):
        arguments = {
            
        }
        for (key, value) in six.iteritems(arguments.request.arguments):
            if isinstance(value, list):
                arguments[key] = ','.join(value)
            else:
                arguments[key] = value
    else:
        arguments = handler.get_post_arguments()
    return arguments

dataset/ETHPy150Open refinery29/chassis/chassis/util/params.py _fetch_arguments/VarMisuse@43/70 `handler`->`arguments`