This repository was archived by the owner on Jan 7, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -29,20 +29,20 @@ Retrieval
2929 DocumentCloud paginates search results. By default the search methods returns
3030 from all pages. If you want to restrict the number of pages that are searched
3131 or retrieve a specific page you should provide some combination of the following
32- keyword arguments.
32+ keyword arguments. ::
3333
3434 >>> obj_list = client.documents.search('Ruben Salazar', page=1, per_page=10)
3535 # You can guess that will do.
3636 >>> len(obj_list) == 10
3737 >>> True
3838
3939 By default, the search returns three mentions of the result in each document.
40- You can increase that number up to 10 by modifying the keyword argument.
40+ You can increase that number up to 10 by modifying the keyword argument. ::
4141
4242 >>> client.documents.search('Ruben Salazar', mentions=10)
4343
4444 Unlike when you get a document directly via id, the key/value dictionaries
45- they can be assigned are not provided by default in search results.
45+ they can be assigned are not provided by default in search results. ::
4646
4747 To have them included, switch the following keyword argument.
4848
You can’t perform that action at this time.
0 commit comments