async def startup(self):
        """Start the application.

        Support for start-callbacks and lock the application's configuration and plugins.
        """
        if self.frozen:
            return False

        if self._error_handlers:
            self.middlewares.append(_exc_middleware_factory(self))

        # Register static paths
        for path in self.cfg.STATIC_FOLDERS:
            self.router.register_resource(SafeStaticResource(self.cfg.STATIC_PREFIX, path))

        await super(Application, self).startup()
async def startup ( self ) : if self . frozen : return False if self . _error_handlers : self . middlewares . append ( _exc_middleware_factory ( self ) ) for path in self . cfg . STATIC_FOLDERS : self . router . register_resource ( SafeStaticResource ( self . cfg . STATIC_PREFIX , path ) ) await super ( Application , self ) . startup ( )
Start the application.

        Support for start-callbacks and lock the application's configuration and plugins.