I am using a flask-sqlalchemy
session in which I have a simple query which returns a list:
results = db.session.query(Item).filter(Item.score > 0).all()
Since I have no idea how long it will take to complete the query, I'd like to see a progress bar.
The answer offered here does not seem to acknowledge the problem with creating chunks from the earlier read operation. Can tqdm be used with Database Reads? In my case, I'm not using pandas
either.