def METHOD_NAME(self):
    if not os.path.exists(n_env.path_naas_folder):
        try:
            print("Init Naas folder Jobs")
            os.makedirs(n_env.path_naas_folder)
        except OSError as exc:  # Guard against race condition
            print("__path_naas_files", n_env.path_naas_folder)
            if exc.errno != errno.EEXIST:
                raise
        except Exception as e:
            print("Exception", e)
    self.__app = Sanic(__name__)
    self.__logger = Logger()
    self.__notif = Notifications(self.__logger)
    self.__app.register_listener(
        self.initialize_before_start, "before_server_start"
    )
    self.__app.register_listener(self.initialize_before_stop, "before_server_stop")
    self.__app.blueprint(swagger_blueprint)
    uid = str(uuid.uuid4())
    self.__logger.info(
        {"id": uid, "type": t_main, "filepath": "runner", "status": "init API"}
    )
    return self.__app