def s_1(): try: inputObject = ci.toInputType(request, inputParseType="array") output = m_1.calcSum(inputObject) return Response(ci.serviceOutput(output, "default"), content_type="application/json") except Exception as err: return {"error": str(err)}
def s_1(projectname, ): try: resources = { "projectname": projectname, } inputObject = ci.toInputType(request, inputParseType="default") output = m_1.createProject(resources, inputObject) return Response(ci.serviceOutput(output, "default"), content_type="application/json") except Exception as err: return {"error": str(err)}
def s_8( projectname, foldername, modulename, ): try: resources = { "projectname": projectname, "foldername": foldername, "modulename": modulename, } inputObject = ci.toInputType(request, inputParseType="default") output = m_1.updateModule(resources, inputObject) return Response(ci.serviceOutput(output, "default"), content_type="application/json") except Exception as err: return {"error": str(err)}