Skip to content

Conversation

@philrz
Copy link
Contributor

@philrz philrz commented Nov 10, 2017

@ldegio was alerted by a user who was tripped up by the fact that our get_data_advanced.py example was only returning the top 10 entities. The get_data_simple.py talks about this in reference to the paging parameter, but it's confusing that the "advanced" example leaves this out, and is further compounded by the fact that get_data() was lacking any documentation of this parameter.

This PR adds the docstring in get_data(), moves the use of paging from the simple example to the advanced one, and uses non-default values for paging to better illustrate its use.

I've cleaned up some other typos while I'm in there.

cc: @ndrwdn @ldegio

@philrz philrz requested review from ldegio and ndrwdn November 10, 2017 02:05
@ldegio ldegio merged commit 6da418a into master Nov 10, 2017
@philrz philrz deleted the better-paging-coverage branch November 13, 2017 20:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants