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
As of pymongo 3.5, get_default_database()has been deprecated, and the recommended practice is to use get_database()with no name parameter. Downstreams using this new method are currently unable to use the latest version of mongomock.
The text was updated successfully, but these errors were encountered:
For more info, the method that needs fixed is mongomock.MongoClient.get_database, and the error message is TypeError: get_database() takes at least 2 arguments (1 given).
zachmullen
added a commit
to zachmullen/mongomock
that referenced
this issue
Dec 14, 2017
As of pymongo 3.5,
get_default_database()
has been deprecated, and the recommended practice is to useget_database()
with no name parameter. Downstreams using this new method are currently unable to use the latest version of mongomock.The text was updated successfully, but these errors were encountered: