def api(self) -> FastAPI:
        """Get the backend api.

        Returns:
            The backend api.
        """
        if self._cached_fastapi_app is None:
            self._cached_fastapi_app = FastAPI()
        console.deprecate(
            feature_name="App.api",
            reason="Set `api_transformer=your_fastapi_app` instead.",
            deprecation_version="0.7.9",
            removal_version="0.8.0",
        )
        return self._cached_fastapi_app
Get the backend api.

        Returns:
            The backend api.
        
reflex/app.py