Skip to content

PYTHON-1321 Remove MongoReplicaSetClient #552

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jan 16, 2021

Conversation

ShaneHarvey
Copy link
Member

No description provided.

---------------------

Removed :class:`~pymongo.mongo_replica_set_client.MongoReplicaSetClient`.
Use :class:`pymongo.mongo_client.MongoClient` instead.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd suggest mentioning that since PyMongo 3.0 MongoReplicaSetClient has been a trivial wrapper for MongoClient that only overrode repr, to make it clear that the migration literally only requires a change of class name.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done. I didn't mention the repr though.

@ShaneHarvey ShaneHarvey requested a review from behackett January 16, 2021 00:52
@ShaneHarvey
Copy link
Member Author

Rebased to fix a merge conflict in the docs.

@ShaneHarvey ShaneHarvey merged commit 56925fd into mongodb:master Jan 16, 2021
@ShaneHarvey ShaneHarvey deleted the PYTHON-1321 branch January 16, 2021 01:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants