Skip to content

Commit 0a1f666

Browse files
committed
Fix
1 parent fe6f7de commit 0a1f666

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

source/connect.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,8 @@ Local Deployment
8282

8383
.. code-block:: python
8484

85-
client = MongoClient("mongodb://localhost:27017/")
85+
uri = "mongodb://localhost:27017/"
86+
client = MongoClient(uri)
8687

8788
.. tab:: Asynchronous
8889
:tabid: async

0 commit comments

Comments
 (0)