man-group / notebooker

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

AttributeError: 'Cursor' object has no attribute 'count' #104

Closed samuelkhtu closed 2 years ago

samuelkhtu commented 2 years ago

With pymongo==4.0.2 The following line result in AttributeError: 'Cursor' object has no attribute 'count' https://github.com/man-group/notebooker/blob/3277684f87b5ae1ab1116a6153b19baa8c67e7bd/notebooker/serialization/mongo.py#L450

samuelkhtu commented 2 years ago

Hi @jonbannister happy to submit PR for this issue.