man-group / notebooker

Productionise & schedule your Jupyter Notebooks as easily as you wrote them.
GNU Affero General Public License v3.0
850 stars 80 forks source link

Fix count() issue in pymongo>4.0 #106

Closed jonbannister closed 1 year ago

jonbannister commented 1 year ago

Use Collection.count_documents() and Collection.count() instead of Cursor.count() in mongo.py. Fixes #104