Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 465 Bytes

README.md

File metadata and controls

25 lines (16 loc) · 465 Bytes

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])