Skip to content

Commit 34a5c33

Browse files
authored
docs: update custom() method usage example
1 parent aa007f9 commit 34a5c33

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

docs/usage/querying.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,13 @@ Use non-standard OData URL Query parameters
144144

145145
Sometimes services implement extension to OData model and require addition URL
146146
query parameters. In such a case, you can enrich HTTP request made by pyodata with
147-
these parameters by the method `custom(name: str, value: str)`.
147+
these parameters by the method `custom(name: str, value: str)`.
148148

149149
.. code-block:: python
150150
151151
employee = northwind.entity_sets.Employees.get_entity(1).custom('sap-client', '100').execute()
152+
153+
.. code-block:: python
154+
155+
employees = northwind.entity_sets.Employees.get_entities().custom('sap-client', '100').custom('$skiptoken', 'ABCD').top(10).execute()
156+

0 commit comments

Comments
 (0)