myems/myems-api/reports/fddequipmentfault.py

19 lines
340 B
Python

import falcon
import simplejson as json
class Reporting:
@staticmethod
def __init__():
""""Initializes Reporting"""
pass
@staticmethod
def on_options(req, resp):
resp.status = falcon.HTTP_200
@staticmethod
def on_get(req, resp):
result = {}
resp.text = json.dumps(result)