def get(self, argument_name, default_value='', allow_multiple=False):
    if argument_name not in self.params:
      if allow_multiple:
        return []
      return default_value

    if allow_multiple:
      return list(self.params[argument_name])


    if isinstance(self.params[argument_name], list):

      return self.params[argument_name][0]
    return self.params[argument_name]
Returns the path segment information for a record.
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/ext/webapp/mock_webapp.py/MockRequest.get--crossover with--dataset/ETHPy150Open lektor/lektor/lektor/admin/modules/api.py/get_path_info