☰
Debian Codegraph
@
2.24.0-1
/
/
docs
/
examples
/
plugins
/
sqlalchemy
/
configure.py
☽
☼
docs/examples/plugins/sqlalchemy/configure.py
code
plain
raw
Expat
Alc <
[email protected]
>,; Cody Fincher <
[email protected]
>,; Jacob Coffee <
[email protected]
>,; Janek Nouvertné <
[email protected]
>,; Litestar Developers <
[email protected]
>,; Peter Schutt <
[email protected]
>,; Visakh Unnikrishnan <
[email protected]
>,
debian/copyright
1
from litestar.plugins.sqlalchemy import SQLAlchemyAsyncConfig, SQLAlchemyPlugin
2
3
sqlalchemy_config = SQLAlchemyAsyncConfig(connection_string="sqlite+aiosqlite:///test.sqlite")
4
plugin = SQLAlchemyPlugin(config=sqlalchemy_config)