Conditions | 1 |
Total Lines | 12 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Tests | 3 |
CRAP Score | 1 |
Changes | 0 |
1 | #!/usr/bin/python |
||
28 | 1 | @property |
|
29 | 1 | def value(self) -> dict: |
|
30 | """Return all important information regarding the search API call like success, time and items |
||
31 | |||
32 | :return: |
||
33 | """ |
||
34 | 1 | return { |
|
35 | 'data': { |
||
36 | 'success': self._success, |
||
37 | 'time': self._time, |
||
38 | # market_items since using "items" will return the built-in function in APIResponse |
||
39 | 'market_items': self.items |
||
40 | } |
||
69 |