get_fastapi_components method of SquirrelsProject. It contains the necessary components to mount the Squirrels project into an existing FastAPI application.
Properties
string
The mount path for the Squirrels project, based on the project name and version, and the
mount_path_format argument of the get_fastapi_components method.AsyncGeneratorContextManager
The lifespan context manager for the Squirrels project. This should be used in the lifespan of the parent FastAPI application.
FastAPI
The FastAPI application instance for the Squirrels project that can be mounted.