Total Complexity | 3 |
Total Lines | 19 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | import falcon |
||
2 | import simplejson as json |
||
3 | |||
4 | |||
5 | class Reporting: |
||
6 | @staticmethod |
||
7 | def __init__(): |
||
8 | """"Initializes Reporting""" |
||
9 | pass |
||
10 | |||
11 | @staticmethod |
||
12 | def on_options(req, resp): |
||
13 | resp.status = falcon.HTTP_200 |
||
14 | |||
15 | @staticmethod |
||
16 | def on_get(req, resp): |
||
17 | result = {} |
||
18 | resp.text = json.dumps(result) |
||
19 |