Skip to content

Commit 6637b87

Browse files
fixes
1 parent 301ba14 commit 6637b87

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

source/index.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,8 @@ Upgrade {+driver-short+} Versions
122122
Learn what changes you might need to make to your application to upgrade driver versions
123123
in the :ref:`pymongo-upgrade` section.
124124

125-
Migrate from Motor to the {+driver-async+} Driver
126-
------------------------------------------------
125+
Migrate from Motor to {+driver-async+}
126+
-------------------------------------
127127

128128
In September 2024, MongoDB released the {+driver-async+} driver as a replacement
129129
for `Motor <https://www.mongodb.com/docs/drivers/motor/>`__, the previous asynchronous

source/motor-async-migration.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
.. _pymongo-async-motor-migration:
22

3-
===============================================
4-
Migrate from Motor to the {+driver-async+} Driver
5-
===============================================
3+
====================================
4+
Migrate from Motor to {+driver-async+}
5+
====================================
66

77
.. contents:: On this page
88
:local:
@@ -23,7 +23,7 @@ Overview
2323
The {+driver-async+} driver is a unification of {+driver-short+} and the `Motor
2424
library <https://www.mongodb.com/docs/drivers/motor/>`__. In this guide, you can
2525
identify the changes you must make to migrate an application from
26-
{+driver-short+} or Motor to the {+driver-async+} driver.
26+
Motor to the {+driver-async+} driver.
2727

2828
Migrate From Motor
2929
------------------

source/pymongo-to-async-guide.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ library <https://www.mongodb.com/docs/drivers/motor/>`__. In this guide, you can
2525
identify the changes you must make to switch from {+driver-short+} to
2626
{+driver-async+}.
2727

28-
Migrate From {+driver-short+}
29-
--------------------
28+
Switch From {+driver-short+}
29+
-------------------
3030

3131
The {+driver-async+} driver behaves similarly to {+driver-short+}, but
3232
all methods that perform network operations are coroutines and must be awaited.
33-
To migrate from {+driver-short+} to {+driver-async+}, you must update your code
33+
To switch from {+driver-short+} to {+driver-async+}, you must update your code
3434
in the following ways:
3535

3636
- Replace all uses of ``MongoClient`` with ``AsyncMongoClient``.

0 commit comments

Comments
 (0)