update docs

This commit is contained in:
Jalil SA 2023-04-28 08:56:11 -06:00
parent 9af596a6b8
commit 865c36bdbb
1 changed files with 6 additions and 0 deletions

View File

@ -1281,6 +1281,12 @@ TextResponse objects
:class:`TextResponse` objects support the following methods in addition to
the standard :class:`Response` ones:
.. method:: TextResponse.jmespath(query)
A shortcut to ``TextResponse.selector.jmespath(query)``::
response.jmespath('object.[*]')
.. method:: TextResponse.xpath(query)
A shortcut to ``TextResponse.selector.xpath(query)``::