|
pyrax
Python Bindings for the Rackspace Cloud
|
This object will iterate over all the results for a given type of listing, no matter how many items exist. More...
Public Member Functions | |
| def | __init__ |
| def | __iter__ |
| def | next |
| Return the next available item. | |
Public Attributes | |
| manager | |
| domain | |
| domain_id | |
| results | |
| next_uri | |
| extra_args | |
This object will iterate over all the results for a given type of listing, no matter how many items exist.
This is an abstract class; subclasses must define the _init_methods() method.
| def __init__ | ( | self, | |
| manager, | |||
domain = None |
|||
| ) |
| def __iter__ | ( | self | ) |
| def next | ( | self | ) |
Return the next available item.
If there are no more items in the local 'results' list, check if there is a 'next_uri' value. If so, use that to get the next page of results from the API, and return the first item from that query.
Reimplemented in SubdomainResultsIterator.
1.7.6.1