コード例 #1
0
    def run_project_calculations(self):
        self.timer.start()
        LAVAZZAGSuccessCriteria(self.data_provider, self.output).main_function()
        self.timer.stop('KPIGenerator.run_project_calculations')


# if __name__ == '__main__':
#     LoggerInitializer.init('Lavazza DE Success Criteria')
#     Config.init()
#     project_name = 'lavazzajp'
#     data_provider = KEngineDataProvider(project_name)
#     session = '64cf60ed-42b6-4275-b7ca-95d23b87dee4'
#     data_provider.load_session_data(session)
#     output = Output()
#     LAVAZZAJPCalculations(data_provider, output).run_project_calculations()
コード例 #2
0
 def run_project_calculations(self):
     self.timer.start()
     LAVAZZAGSuccessCriteria(self.data_provider,
                             self.output).main_function()
     self.timer.stop('KPIGenerator.run_project_calculations')