You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We could use the Statistic base class in our model to save a history of results
from crawler runs.
I suggest something like:
class Crawl(Statistic):
crawl_time = Column(Float)
new = Column(Integer)
changed = Column(Integer)
deleted = Column(Integer)
sharesize = Column(BigInteger)
__mapper_args__ = {'polymorphic_identity': u'crawl'}
def __init__(self, crawl_time, date=datetime.now()):
self.crawl_time = crawl_time
self.date = date
I will implement the change in branches/tg2.1 and see how it works out!
Original issue reported on code.google.com by moschlar@metalabs.de on 20 Sep 2011 at 2:20
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
moschlar@metalabs.de
on 20 Sep 2011 at 2:20The text was updated successfully, but these errors were encountered: