Total Complexity | 1 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | from .base import Resource, DataPointType |
||
2 | |||
3 | |||
4 | # ======================================================= |
||
5 | # Reports |
||
6 | # ======================================================= |
||
7 | class Reports(Resource): |
||
8 | def get(self, |
||
9 | data_points_type: DataPointType, |
||
10 | user: str = None, |
||
11 | team: str = None, |
||
12 | label: str = None, |
||
13 | since: str = None, |
||
14 | until: str = None): |
||
15 | return self._get("/reports/{data_points_type}".format(data_points_type=data_points_type), |
||
16 | user=user, |
||
17 | team=team, |
||
18 | label=label, |
||
19 | since=since, |
||
20 | until=until) |
||
21 |