Example #1
0
 def helper_rest_firmware_info(self, request):
     return web.json_response(rest_firmware.get_firmware_info(),
                              dumps=dumps_bytestr)
Example #2
0
def rest_firmware_info():
    return rest_firmware.get_firmware_info()