def update_wifi(self, shard_id=None): station.WifiUpdater(self, shard_id=shard_id)()
def update_wifi(self, batch=1000, shard_id=None): with self.redis_pipeline() as pipe: with self.db_session() as session: station.WifiUpdater(self, session, pipe, shard_id=shard_id)(batch=batch)