| Conditions | 2 |
| Total Lines | 14 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | #!/usr/bin/python |
||
| 14 | def __init__(self, success: bool, checked_time: int = int(time()), items: List[Item] = None): |
||
| 15 | """Initializing function |
||
| 16 | |||
| 17 | :param success: |
||
| 18 | :param checked_time: |
||
| 19 | :param items: |
||
| 20 | """ |
||
| 21 | self._success = success |
||
| 22 | self._time = checked_time |
||
| 23 | |||
| 24 | if items: |
||
| 25 | self._items = items |
||
| 26 | else: |
||
| 27 | self._items = [] |
||
| 28 | |||
| 70 |