def export_getReport( self, reportRequest ): """ Plot a accounting Arguments: - viewName : Name of view (easy!) - startTime - endTime - argsDict : Arguments to the view. - grouping - extraArgs """ retVal = self.__checkPlotRequest( reportRequest ) if not retVal[ 'OK' ]: return retVal reporter = MainReporter( gAccountingDB, self.serviceInfoDict[ 'clientSetup' ] ) gMonitor.addMark( "reportsRequested" ) reportRequest[ 'generatePlot' ] = False return reporter.generate( reportRequest, self.getRemoteCredentials() )
def export_getReport(self, reportRequest): """ Plot a accounting Arguments: - viewName : Name of view (easy!) - startTime - endTime - argsDict : Arguments to the view. - grouping - extraArgs """ retVal = self.__checkPlotRequest(reportRequest) if not retVal["OK"]: return retVal reporter = MainReporter(self.__acDB, self.serviceInfoDict["clientSetup"]) reportRequest["generatePlot"] = False return reporter.generate(reportRequest, self.getRemoteCredentials())