Conditions | 1 |
Total Lines | 10 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 2 |
CRAP Score | 1.037 |
Changes | 0 |
1 | #!/usr/bin/python |
||
21 | 1 | @property |
|
22 | 1 | def value(self) -> dict: |
|
23 | """Return all important information from the API response like price, wear value and the time it was sold |
||
24 | |||
25 | :return: |
||
26 | """ |
||
27 | return { |
||
28 | 'price': self._price, |
||
29 | 'wear_value': self._wear_value, |
||
30 | 'sold_at': self._sold_at |
||
31 | } |
||
32 |