Exemplo n.º 1
0
 def get(self, factory_ID, pu_name):
     # respond to a GET
     report = Report()
     self.write(report.get_production_unit_data(int(factory_ID), pu_name))
Exemplo n.º 2
0
 def get(self, factory_ID):
     # respond to a GET
     report = Report()
     self.write(report.get_factory_data(int(factory_ID)))