Skip to content

Conversation

blink1073
Copy link
Member

No description provided.

@@ -14,27 +14,22 @@

Raises :class:`~pymongo.errors.InvalidName` if an invalid database name is used.

.. autoattribute:: event_listeners
Copy link
Member

Choose a reason for hiding this comment

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

The deprecated helpers should still be documented but we should move them to the bottom with all the others. Any reason you removed them?

Copy link
Member Author

Choose a reason for hiding this comment

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

Was trying to reduce visibility, will move to the bottom

@@ -1142,22 +1146,33 @@ def max_pool_size(self):
``waitQueueTimeoutMS`` is set, a blocked operation will raise
:exc:`~pymongo.errors.ConnectionFailure` after a timeout.
By default ``waitQueueTimeoutMS`` is not set.

.. versionchanged:: 3.13
Deprecated. Use ``client.options.pool_options.max_pool_size`` instead.
Copy link
Member

Choose a reason for hiding this comment

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

It would be nice to add the Use ``client.options.pool_options.max_pool_size`` instead to the warnings too.

Copy link
Member Author

Choose a reason for hiding this comment

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

Updated

@blink1073 blink1073 requested a review from ShaneHarvey October 25, 2022 21:44
@blink1073 blink1073 merged commit 4b47d47 into mongodb:v3.13 Oct 25, 2022
@blink1073 blink1073 deleted the PYTHON-2993 branch October 25, 2022 22:18
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