def parse_qsd(data, name='query string', exception=PluginError, schema=None, **params):
 value = dict(parse_qsl(data, **params))
 if schema:
  value = schema.validate(value, name=name, exception=exception)
 return value

def parse_qsd ( data , name = 'query string' , exception = PluginError , schema = None , ** params ) : value = dict ( parse_qsl ( data , ** params ) ) if schema : value = schema . validate ( value , name = name , exception = exception ) return value
parses a query string into a dict .