Address review feedback
This commit is contained in:
parent
176192bfae
commit
9314d696f9
@ -6,15 +6,6 @@ Changes in Version 4.17.0 (2026/XX/XX)
|
||||
|
||||
PyMongo 4.17 brings a number of changes including:
|
||||
|
||||
- Remove unused validation functions from pymongo/common.py
|
||||
|
||||
- validate_positive_integer_or_none (line 236) — superseded by
|
||||
validate_non_negative_integer_or_none which is used
|
||||
- validate_int_or_basestring (line 264) — a variant of
|
||||
validate_non_negative_int_or_basestring which is used
|
||||
- validate_auth_option (line 823) — validates auth mechanism properties but
|
||||
is never invoked
|
||||
|
||||
- Added the :meth:`~pymongo.asynchronous.client_session.AsyncClientSession.bind` and :meth:`~pymongo.client_session.ClientSession.bind` methods
|
||||
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.
|
||||
See <PLACEHOLDER> for examples and more information.
|
||||
|
||||
@ -796,8 +796,6 @@ TIMEOUT_OPTIONS: list[str] = [
|
||||
"waitqueuetimeoutms",
|
||||
]
|
||||
|
||||
_AUTH_OPTIONS = frozenset(["authmechanismproperties"])
|
||||
|
||||
|
||||
def _get_validator(
|
||||
key: str, validators: dict[str, Callable[[Any, Any], Any]], normed_key: Optional[str] = None
|
||||
|
||||
Loading…
Reference in New Issue
Block a user