def batch_ids(): """ Get the tweet ids, for all the tweets that are due to be updated. """ return [tweet.id for tweet in Tweet.batch_to_update()]