You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're getting several warnings due to using deprecated mongoDB functions in our API calls. We need to update these to non-deprecated functions.
For example, on mondo_db.py:
xtlib\storage\mongo_db.py:83: DeprecationWarning: count is deprecated. Use estimated_document_count or count_documents instead. Please note that $where must be replaced by $expr, $near must be replaced by $geoWithin with $center, and $nearSphere must be replaced by $geoWithin with $centerSphere
count = container.count()
C:\Users\jlema\git\ExperimentTools\xtlib\storage\mongo_db.py:88: DeprecationWarning: remove is deprecated. Use delete_one or delete_many instead.
cmd = lambda: self.mongo_db.ws_counters.remove( {"_id": ws_name} )
C:\Users\jlema\git\ExperimentTools\xtlib\storage\mongo_db.py:93: DeprecationWarning: remove is deprecated. Use delete_one or delete_many instead.
cmd = lambda: self.mongo_db.ws_counters.remove( {"_id": end_id} )