Skip to content

Commit e291d23

Browse files
committed
NS feedback
1 parent 84e2349 commit e291d23

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

source/integrations/fastapi-integration.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,11 @@ Use this code to perform the following actions:
149149
db = client.get_database("college")
150150
student_collection = db.get_collection("students")
151151

152+
The ``AsyncMongoClient()`` call includes a ``server_api`` parameter to enable
153+
the Stable API feature on your connection. Make sure your deployment uses
154+
MongoDB servers with version 5.0 or later. For more information, see the :ref:`Stable
155+
API <pymongo-stable-api>` section of this guide.
156+
152157
Review the Database Models
153158
~~~~~~~~~~~~~~~~~~~~~~~~~~~
154159

0 commit comments

Comments
 (0)