code: def run(self):
          
          if not self._app:
              raise RuntimeError("The application must be created before running")
  
          # Flask can operate as a single threaded server (which is default) and a multi-threaded server which is
          # more for development. When the Lambda container is going to be debugged, then it does not make sense
          # to turn on multi-threading because customers can realistically attach only one container at a time to
          # the debugger. Keeping this single threaded also enables the Lambda Runner to handle Ctrl+C in order to
          # kill the container gracefully (Ctrl+C can be handled only by the main thread)
          multi_threaded = not self.is_debugging
  
          LOG.debug("Localhost server is starting up. Multi-threading = %s", multi_threaded)
  
          # This environ signifies we are running a main function for Flask. This is true, since we are using it within
          # our cli and not on a production server.
          os.environ['WERKZEUG_RUN_MAIN'] = 'true'
  
          self._app.run(threaded=multi_threaded, host=self.host, port=self.port)
docs: This starts up the (threaded) Local Server.
          Note: This is a **blocking call**
  
          Raises
          ------
          RuntimeError
              if the service was not created