| Total Complexity | 20 |
| Total Lines | 70 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | class Query: |
||
| 2 | # TODO: Build a structure that extends the current cursor and allows for objectification |
||
| 3 | |||
| 4 | # constructor |
||
| 5 | def __init__(self, query): |
||
| 6 | self.query = query |
||
| 7 | |||
| 8 | # destructor |
||
| 9 | def __del__(self): |
||
| 10 | pass |
||
| 11 | |||
| 12 | # types |
||
| 13 | def __bool__(self): |
||
| 14 | pass |
||
| 15 | |||
| 16 | def __bytes__(self): |
||
| 17 | pass |
||
| 18 | |||
| 19 | def __str__(self): |
||
| 20 | pass |
||
| 21 | |||
| 22 | # conversions |
||
| 23 | def __format__(self, format_spec): |
||
| 24 | pass |
||
| 25 | |||
| 26 | def __repr__(self): |
||
| 27 | pass |
||
| 28 | |||
| 29 | # comparisons |
||
| 30 | def __lt__(self, other): |
||
| 31 | pass |
||
| 32 | |||
| 33 | def __le__(self, other): |
||
| 34 | pass |
||
| 35 | |||
| 36 | def __eq__(self, other): |
||
| 37 | pass |
||
| 38 | |||
| 39 | def __ne__(self, other): |
||
| 40 | pass |
||
| 41 | |||
| 42 | def __gt__(self, other): |
||
| 43 | pass |
||
| 44 | |||
| 45 | def __ge__(self, other): |
||
| 46 | pass |
||
| 47 | |||
| 48 | # iterations |
||
| 49 | def __len__(self): |
||
| 50 | pass |
||
| 51 | |||
| 52 | def __contains__(self, item): |
||
| 53 | pass |
||
| 54 | |||
| 55 | def __next__(self): |
||
| 56 | pass |
||
| 57 | |||
| 58 | def __reversed__(self): |
||
| 59 | pass |
||
| 60 | |||
| 61 | # chain wrappers |
||
| 62 | def count(self): |
||
| 63 | pass |
||
| 64 | |||
| 65 | def limit(self): |
||
| 66 | pass |
||
| 67 | |||
| 68 | def sort(self): |
||
| 69 | pass |
||
| 70 |
The coding style of this project requires that you add a docstring to this code element. Below, you find an example for methods:
If you would like to know more about docstrings, we recommend to read PEP-257: Docstring Conventions.