Merge branch 'master' of github.com:mongodb/mongo-python-driver

This commit is contained in:
Steven Silvester 2025-05-14 21:06:17 -05:00
commit ccc5dfc162
No known key found for this signature in database
GPG Key ID: B1BF5EC3A8B32F91
13 changed files with 4 additions and 43 deletions

View File

@ -1,10 +1,6 @@
:mod:`gridfs async` -- Async tools for working with GridFS
==========================================================
.. warning:: This API is currently in beta, meaning the classes, methods,
and behaviors described within may change before the full release.
If you come across any bugs during your use of this API,
please file a Jira ticket in the "Python Driver" project at https://jira.mongodb.org/browse/PYTHON.
.. automodule:: gridfs.asynchronous
:synopsis: Async tools for working with GridFS

View File

@ -1,10 +1,6 @@
:mod:`change_stream` -- Watch changes on a collection, database, or cluster
===========================================================================
.. warning:: This API is currently in beta, meaning the classes, methods,
and behaviors described within may change before the full release.
If you come across any bugs during your use of this API,
please file a Jira ticket in the "Python Driver" project at https://jira.mongodb.org/browse/PYTHON.
.. automodule:: pymongo.asynchronous.change_stream
:members:

View File

@ -1,10 +1,6 @@
:mod:`client_session` -- Logical sessions for sequential operations
===================================================================
.. warning:: This API is currently in beta, meaning the classes, methods,
and behaviors described within may change before the full release.
If you come across any bugs during your use of this API,
please file a Jira ticket in the "Python Driver" project at https://jira.mongodb.org/browse/PYTHON.
.. automodule:: pymongo.asynchronous.client_session
:members:

View File

@ -1,10 +1,6 @@
:mod:`collection` -- Collection level operations
================================================
.. warning:: This API is currently in beta, meaning the classes, methods,
and behaviors described within may change before the full release.
If you come across any bugs during your use of this API,
please file a Jira ticket in the "Python Driver" project at https://jira.mongodb.org/browse/PYTHON.
.. automodule:: pymongo.asynchronous.collection
:synopsis: Collection level operations

View File

@ -1,10 +1,6 @@
:mod:`command_cursor` -- Tools for iterating over MongoDB command results
=========================================================================
.. warning:: This API is currently in beta, meaning the classes, methods,
and behaviors described within may change before the full release.
If you come across any bugs during your use of this API,
please file a Jira ticket in the "Python Driver" project at https://jira.mongodb.org/browse/PYTHON.
.. automodule:: pymongo.asynchronous.command_cursor
:synopsis: Tools for iterating over MongoDB command results

View File

@ -1,10 +1,6 @@
:mod:`cursor` -- Tools for iterating over MongoDB query results
===============================================================
.. warning:: This API is currently in beta, meaning the classes, methods,
and behaviors described within may change before the full release.
If you come across any bugs during your use of this API,
please file a Jira ticket in the "Python Driver" project at https://jira.mongodb.org/browse/PYTHON.
.. automodule:: pymongo.asynchronous.cursor
:synopsis: Tools for iterating over MongoDB query results

View File

@ -1,10 +1,6 @@
:mod:`database` -- Database level operations
============================================
.. warning:: This API is currently in beta, meaning the classes, methods,
and behaviors described within may change before the full release.
If you come across any bugs during your use of this API,
please file a Jira ticket in the "Python Driver" project at https://jira.mongodb.org/browse/PYTHON.
.. automodule:: pymongo.asynchronous.database
:synopsis: Database level operations

View File

@ -1,10 +1,6 @@
:mod:`pymongo async` -- Async Python driver for MongoDB
=======================================================
.. warning:: This API is currently in beta, meaning the classes, methods,
and behaviors described within may change before the full release.
If you come across any bugs during your use of this API,
please file a Jira ticket in the "Python Driver" project at https://jira.mongodb.org/browse/PYTHON.
.. automodule:: pymongo.asynchronous
:synopsis: Asynchronous Python driver for MongoDB

View File

@ -1,10 +1,6 @@
:mod:`mongo_client` -- Tools for connecting to MongoDB
======================================================
.. warning:: This API is currently in beta, meaning the classes, methods,
and behaviors described within may change before the full release.
If you come across any bugs during your use of this API,
please file a Jira ticket in the "Python Driver" project at https://jira.mongodb.org/browse/PYTHON.
.. automodule:: pymongo.asynchronous.mongo_client
:synopsis: Tools for connecting to MongoDB

View File

@ -1,10 +1,6 @@
Async Tutorial
==============
.. warning:: This API is currently in beta, meaning the classes, methods,
and behaviors described within may change before the full release.
If you come across any bugs during your use of this API,
please file a Jira ticket in the "Python Driver" project at https://jira.mongodb.org/browse/PYTHON.
.. code-block:: pycon

View File

@ -6,6 +6,9 @@ Changes in Version 4.13.0 (2025/05/14)
PyMongo 4.13 brings a number of changes including:
- The asynchronous API is now stable and no longer in beta.
See the :mod:`pymongo.asynchronous` docs
or the `migration guide <https://www.mongodb.com/docs/languages/python/pymongo-driver/current/reference/migration/>`_ for more information.
- Fixed a bug where :class:`pymongo.write_concern.WriteConcern` repr was not eval-able
when using ``w="majority"``.

View File

@ -18,7 +18,7 @@ from __future__ import annotations
import re
from typing import List, Tuple, Union
__version__ = "4.13.0.dev0"
__version__ = "4.14.0.dev0"
def get_version_tuple(version: str) -> Tuple[Union[int, str], ...]:

View File

@ -194,8 +194,6 @@ class AsyncMongoClient(common.BaseObject, Generic[_DocumentType]):
For more details, see the relevant section of the PyMongo 4.x migration guide:
:ref:`pymongo4-migration-direct-connection`.
.. warning:: This API is currently in beta, meaning the classes, methods, and behaviors described within may change before the full release.
The client object is thread-safe and has connection-pooling built in.
If an operation fails because of a network error,
:class:`~pymongo.errors.ConnectionFailure` is raised and the client