Skip to content

Commit

Permalink
Making item_to_value a required argument.
Browse files Browse the repository at this point in the history
Also adding "(Optional)" to items_key docstring.
  • Loading branch information
dhermes committed Oct 18, 2016
1 parent ecb7b90 commit bff17cc
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,8 @@ def list_projects(self, filter_params=None, page_size=None):
extra_params['filter'] = filter_params

return Iterator(
client=self, items_key='projects', path='/projects',
item_to_value=_item_to_project, extra_params=extra_params)
client=self, path='/projects', item_to_value=_item_to_project,
items_key='projects', extra_params=extra_params)


def _item_to_project(iterator, resource):
Expand Down

0 comments on commit bff17cc

Please sign in to comment.