File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -141,7 +141,8 @@ constructor accepts. All parameters are optional.
141
141
**Data type:** ``Type[_DocumentType]``
142
142
143
143
* - ``tz_aware``
144
- - Whether ``datetime`` values are aware (``True``) or naive (``False``).
144
+ - If this parameter is ``True``, the client treats ``datetime`` values as aware.
145
+ Otherwise, it treats them as naive.
145
146
146
147
For more information about aware and naive ``datetime`` values, see
147
148
`datetime <https://docs.python.org/3/library/datetime.html>`__ in the Python
@@ -150,8 +151,9 @@ constructor accepts. All parameters are optional.
150
151
**Data type:** ``bool``
151
152
152
153
* - ``connect``
153
- - Whether the client immediately begins connecting to MongoDB in the background
154
- (``True``) or connects on the first operation (``False``).
154
+ - If this parameter is ``True``, the client begins connecting to MongoDB
155
+ in the background immediately after you create it. If this parameter is ``False``,
156
+ the client connects to MongoDB when it performs the first database operation.
155
157
156
158
If your application is running in a
157
159
:wikipedia:`function-as-a-service (FaaS) <Function_as_a_service>`
You can’t perform that action at this time.
0 commit comments