endpoints.reports   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 21
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 16
dl 0
loc 21
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A Reports.get() 0 13 1
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