def update_statcounter(self, ago=1): with self.redis_pipeline() as pipe: with self.db_session() as session: stats.StatCounterUpdater(self, session, pipe)(ago=ago)
def update_statcounter(self): stats.StatCounterUpdater(self)()
def update_statcounter(self, ago=1): stats.StatCounterUpdater(self)(ago=ago)