Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename paginate #119

Merged
merged 2 commits into from
Jun 3, 2015
Merged

Rename paginate #119

merged 2 commits into from
Jun 3, 2015

Conversation

kyleknap
Copy link
Member

@kyleknap kyleknap commented Jun 2, 2015

This updates the collections API to botocore's pagination api change: boto/botocore#547

This also introduces a breaking change where I removed some parameters to make the collections api less confusing by having only one canonical way of limiting the number of results (limit() method) and sizes of pages (page_size() method). Also this ensures consistency of casing of arguments passed to collections method).

Note that for the filter() method, the limit and page_size arguments were just undocumented to signify we do not officially support those parameters. Let me know what you think about this. I also considered throwing an error if those parameters were ran into in the filter() since filter() takes in only kwargs.

cc @jamesls @mtdowling

Removed the parameters to make the collections api less confusing by having
only one canonical way of limiting the number of results and sizes of pages.
Also ensures consistency of casing of arguments passed to method. Note that
for the filter() method, the limit and page_size arguments were just
undocumented to signify we do not officially support those parameters.
@coveralls
Copy link

Coverage Status

Coverage remained the same at 97.67% when pulling fca6e8d on kyleknap:rename-paginate into 95c377b on boto:develop.

@jamesls
Copy link
Member

jamesls commented Jun 3, 2015

:shipit:

kyleknap added a commit that referenced this pull request Jun 3, 2015
@kyleknap kyleknap merged commit e7c71d7 into boto:develop Jun 3, 2015
@kyleknap kyleknap deleted the rename-paginate branch June 3, 2015 16:13
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.

None yet

3 participants