code: def run(self):
          
          self.logger.info("Running main flask method on port " +
                           str(self.settings['FLASK_PORT']))
          self.app.run(host='0.0.0.0', port=self.settings['FLASK_PORT'])
docs: Main flask run loop