Skip to content

Commit 78ffc5f

Browse files
missed placeholders
1 parent 87354c7 commit 78ffc5f

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

source/connect.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ timeoutMS Connection Option
252252

253253
.. code-block:: python
254254

255-
uri = "mongodb://<db_username>:<password>@<hostname:<port>/?timeoutMS=<timeout length>"
255+
uri = "mongodb://<db_username>:<db_password>@<hostname:<port>/?timeoutMS=<timeout length>"
256256
client = pymongo.MongoClient(uri)
257257

258258
To learn more about client-side timeouts, see :ref:`pymongo-csot`.

source/includes/connect/client-cert-tabs.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
.. code-block:: python
1616
17-
uri = ("mongodb://<db_username>:<password>@<hostname:<port>/?"
17+
uri = ("mongodb://<db_username>:<db_password>@<hostname:<port>/?"
1818
"tls=true"
1919
"&tlsCertificateKeyFile=path/to/client.pem")
2020
client = pymongo.MongoClient(uri)

source/includes/connect/compression-tabs.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55

66
.. code-block:: python
77
8-
client = pymongo.MongoClient("mongodb://<db_username>:<password>@<hostname>:<port>",
8+
client = pymongo.MongoClient("mongodb://<db_username>:<db_password>@<hostname>:<port>",
99
compressors = "snappy,zstd,zlib")
1010
1111
.. tab:: Connection String
1212
:tabid: connectionstring
1313

1414
.. code-block:: python
1515
16-
uri = ("mongodb://<db_username>:<password>@<hostname>:<port>/?"
16+
uri = ("mongodb://<db_username>:<db_password>@<hostname>:<port>/?"
1717
"compressors=snappy,zstd,zlib")
1818
client = pymongo.MongoClient(uri)

source/includes/connect/disable-cert-validation-tabs.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
.. code-block:: python
1616
17-
uri = ("mongodb://<db_username>:<password>@<hostname>:<port>/?"
17+
uri = ("mongodb://<db_username>:<db_password>@<hostname>:<port>/?"
1818
"tls=true"
1919
"&tlsAllowInvalidCertificates=true")
2020
client = pymongo.MongoClient(uri)

0 commit comments

Comments
 (0)