def __init__(self, data, detail, manager):
        if not isinstance(data, list):
            raise InvalidInitialization("Attempt to initialize EntityList with non-list 'data'", data)

        list.__init__(self)
        self.extend(data)
        self._lastModified = datetime.now()
        self._detail = detail
        self._manager = manager
        self._entityIndex = 0
        self._pageIndex = 0
Factory method
dataset/ETHPy150Open rackerlabs/python-cloudservers/com/rackspace/cloud/servers/api/client/entitylist.py/EntityList.__init__--crossover with--dataset/ETHPy150Open ramonvanalteren/jenkinsapi/jenkinsapi/api.py/get_view_from_url