|
1 | 1 | .. module:: github3 |
2 | 2 | .. module:: github3.structs |
3 | 3 |
|
4 | | -Structures developed for github3.py |
5 | | -=================================== |
| 4 | +Structures |
| 5 | +========== |
6 | 6 |
|
7 | | -As of right now, there exists only one class in this file, and it is of only |
8 | | -limited importance to users of github3.py. The :class:`GitHubIterator` class |
9 | | -is used to return the results of calls to almost all of the calls to ``iter_`` |
10 | | -methods on objects. When conditional refreshing was added to objects, there |
11 | | -was a noticable gap in having conditional calls to those ``iter_`` methods. |
12 | | -GitHub provides the proper headers on those calls, but there was no easy way |
13 | | -to add that to what github3.py returned so it could be used properly. This was |
14 | | -the best compromise - an object the behaves like an iterator regardless but |
15 | | -can also be ``refresh``\ ed to get results since the last request |
16 | | -conditionally. |
| 7 | +Developed for github3.py |
| 8 | +------------------------ |
| 9 | + |
| 10 | +As of right now, there exists only one class in this section, and it is of |
| 11 | +only limited importance to users of github3.py. The :class:`GitHubIterator` |
| 12 | +class is used to return the results of calls to almost all of the calls to |
| 13 | +``iter_`` methods on objects. When conditional refreshing was added to |
| 14 | +objects, there was a noticable gap in having conditional calls to those |
| 15 | +``iter_`` methods. GitHub provides the proper headers on those calls, but |
| 16 | +there was no easy way to add that to what github3.py returned so it could be |
| 17 | +used properly. This was the best compromise - an object the behaves like an |
| 18 | +iterator regardless but can also be ``refresh``\ ed to get results since the |
| 19 | +last request conditionally. |
17 | 20 |
|
18 | 21 | Objects |
19 | 22 | ------- |
|
0 commit comments