Ejemplo n.º 1
0
 def __init__(self, indexstore):
     if not IIndexStore.providedBy(indexstore):
         raise TypeError("indexstore class does not implement IIndexStore")
     Manager.__init__(self)
     self.setName("queries")
     self._indexstore = indexstore
     self.maxResultSize = 10
     self.maxIterations = 5
Ejemplo n.º 2
0
 def __init__(self, indexstore):
     if not IIndexStore.providedBy(indexstore):
         raise TypeError("indexstore class does not implement IIndexStore")
     Manager.__init__(self)
     self.setName("queries")
     self._indexstore = indexstore
     self.maxResultSize = 10
     self.maxIterations = 5
     self._task = getUtility(IScheduler).addTask(self.name)
Ejemplo n.º 3
0
 def __init__(self, indexstore):
     if not IIndexStore.providedBy(indexstore):
         raise TypeError("indexstore class does not implement IIndexStore")
     Manager.__init__(self)
     self.setName("queries")
     self._indexstore = indexstore
     self.maxResultSize = 10
     self.maxIterations = 5
     self._task = getUtility(IScheduler).addTask(self.name)