PluginsΒΆ
Litestar has a plugin system that allows you to extend the functionality of the application. Plugins are passed to the application at startup and can pre-configure the application to manage resources, add routes, and more.
A suite of plugins is available in litestar.plugins.sqlalchemy to support using Litestar with SQLAlchemy, these include:
litestar.plugins.sqlalchemy.SQLAlchemyPlugin
: Full SQLAlchemy supportlitestar.plugins.sqlalchemy.SQLAlchemyInitPlugin
: Application toolinglitestar.plugins.sqlalchemy.SQLAlchemySerializationPlugin
: Serialization support
Each of the plugins is discussed in detail in the following sections.