Skip to content

Commit 0fa790e

Browse files
committed
Fixes
1 parent 5387503 commit 0fa790e

File tree

3 files changed

+5
-13
lines changed

3 files changed

+5
-13
lines changed

source/read/cursors.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,15 @@ see the corresponding code:
5454
.. literalinclude:: /includes/cursors/cursors.py
5555
:start-after: start-cursor-iterate
5656
:end-before: end-cursor-iterate
57+
:language: python
5758

5859
.. tab:: Asynchronous
5960
:tabid: async
6061

6162
.. literalinclude:: /includes/cursors/cursors-async.py
6263
:start-after: start-cursor-iterate
6364
:end-before: end-cursor-iterate
65+
:language: python
6466

6567
Retrieve Documents Individually
6668
-------------------------------
@@ -127,6 +129,7 @@ tab to see the corresponding code:
127129
:end-before: end-cursor-list
128130
:copyable:
129131
:emphasize-lines: 3
132+
:language: python
130133

131134
.. tab:: Asynchronous
132135
:tabid: async
@@ -135,6 +138,7 @@ tab to see the corresponding code:
135138
:start-after: start-cursor-list
136139
:end-before: end-cursor-list
137140
:emphasize-lines: 3
141+
:language: python
138142

139143
Close a Cursor
140144
--------------

source/read/specify-a-query.txt

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -331,19 +331,6 @@ all documents with a ``name`` field value that has at least two consecutive
331331
``"p"`` characters. Select the :guilabel:`Synchronous` or :guilabel:`Asynchronous` tab
332332
to see the corresponding code:
333333

334-
.. io-code-block::
335-
:copyable:
336-
337-
.. input:: /includes/specify-query/specify-queries.py
338-
:start-after: start-find-evaluation
339-
:end-before: end-find-evaluation
340-
:language: python
341-
342-
.. output::
343-
344-
{'_id': 1, 'name': 'apples', 'qty': 5, 'rating': 3, 'color': 'red', 'type': ['fuji', 'honeycrisp']}
345-
{'_id': 4, 'name': 'pineapple', 'qty': 3, 'rating': 5, 'color': 'yellow'}
346-
347334
.. tabs::
348335

349336
.. tab:: Synchronous

source/read/specify-documents-to-return.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ or :guilabel:`Asynchronous` tab to see the corresponding code:
7272
.. input:: /includes/read/specify-documents-to-return-async.py
7373
:start-after: start-limit-method
7474
:end-before: end-limit-method
75+
:language: python
7576

7677
.. output::
7778

0 commit comments

Comments
 (0)