Infoblox-Development / Infoblox-API-Python

Implements the subset of Infoblox API via REST API
Apache License 2.0
90 stars 59 forks source link

API returns an error if >1000 results #24

Open yohancourbe opened 6 years ago

yohancourbe commented 6 years ago

The API returns an error if it returns more than 1000 elements. The API supports an input _max_results which can take negative and positive integer:

By default this value is -1000 which means that if you have more than 1000 elements to return you will receive an error.

I suggest two edits:

  1. Implement an input to all getters that can return more than one element
  2. Implement an exception raising for this API error
yohancourbe commented 6 years ago

I already made the changes for my fist suggestion, can I make a pull request ?