Skip to content

cofin/litestar-aiosql

Repository files navigation

Litestar Aiosql

Important

This plugin currently contains minimal features and is a work-in-progress

Installation

pip install litestar-aiosql

Usage

Here is a basic application that demonstrates how to use the plugin.

from __future__ import annotations

from litestar import Litestar
from litestar_aiosql import AiosqlPlugin, AiosqlConfig

aiosql = AiosqlPlugin(config=AiosqlConfig())
app = Litestar(plugins=[aiosql])