Skip to content

Commit 9314d69

Browse files
committed
Address review feedback
1 parent 176192b commit 9314d69

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

doc/changelog.rst

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,6 @@ Changes in Version 4.17.0 (2026/XX/XX)
66

77
PyMongo 4.17 brings a number of changes including:
88

9-
- Remove unused validation functions from pymongo/common.py
10-
11-
- validate_positive_integer_or_none (line 236) — superseded by
12-
validate_non_negative_integer_or_none which is used
13-
- validate_int_or_basestring (line 264) — a variant of
14-
validate_non_negative_int_or_basestring which is used
15-
- validate_auth_option (line 823) — validates auth mechanism properties but
16-
is never invoked
17-
189
- Added the :meth:`~pymongo.asynchronous.client_session.AsyncClientSession.bind` and :meth:`~pymongo.client_session.ClientSession.bind` methods
1910
that allow users to bind a session to all database operations within the scope of a context manager instead of having to explicitly pass the session to each individual operation.
2011
See <PLACEHOLDER> for examples and more information.

pymongo/common.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -796,8 +796,6 @@ def validate_server_monitoring_mode(option: str, value: str) -> str:
796796
"waitqueuetimeoutms",
797797
]
798798

799-
_AUTH_OPTIONS = frozenset(["authmechanismproperties"])
800-
801799

802800
def _get_validator(
803801
key: str, validators: dict[str, Callable[[Any, Any], Any]], normed_key: Optional[str] = None

0 commit comments

Comments
 (0)