def __init__(self): LocalProc.__init__(self,"lookup") self.scores = Scores() if settings.lookup_in: self.scores.read(settings.lookup_in) self.lookups = self.scores.count_lookups() self.halt = False
def __init__(self): LocalProc.__init__(self, "lookup") self.scores = Scores() if settings.lookup_in: self.scores.read(settings.lookup_in) self.lookups = self.scores.count_lookups() self.halt = False
def __init__(self, slave_id, todo, done): LocalProc.__init__(self, 'crawl', slave_id) self.twitter = TwitterResource() self.todo = todo self.done = done
def __init__(self): LocalProc.__init__(self, "crawl") self.waiting = set() self.todo = multiprocessing.JoinableQueue(30) self.done = multiprocessing.Queue()
def __init__(self, slave_id, todo, done): LocalProc.__init__(self,'crawl', slave_id) self.twitter = TwitterResource() self.todo = todo self.done = done
def __init__(self): LocalProc.__init__(self,"crawl") self.waiting = set() self.todo = multiprocessing.JoinableQueue(30) self.done = multiprocessing.Queue()
def __init__(self,slave_id): LocalProc.__init__(self,'lookup',slave_id) self.twitter = TwitterResource() self.gisgraphy = GisgraphyResource() self.orig_db = CouchDB(settings.couchdb_root+"orig_houtx")
def __init__(self,slave_id): LocalProc.__init__(self,'lookup',slave_id) self.twitter = TwitterResource() self.gisgraphy = GisgraphyResource()
def __init__(self, slave_id): LocalProc.__init__(self, 'lookup', slave_id) self.twitter = TwitterResource() self.gisgraphy = GisgraphyResource() self.orig_db = CouchDB(settings.couchdb_root + "orig_houtx")