def __init__(self, ext, renderer, parser, model): Collection.__init__(self) self._ext = ext self._renderer = renderer # converts dicts to representations self._model = model self._parser = parser # converts representations to dicts self._repr = {} # request representation as a dict()
def __init__(self, ext, renderer): Collection.__init__(self) self._ext = ext self._renderer = renderer