mirror of
https://github.com/peridotbuild/mothership.git
synced 2024-06-16 10:00:14 +00:00
8 lines
216 B
Python
8 lines
216 B
Python
|
from sqlalchemy.ext.asyncio import AsyncEngine, create_async_engine
|
||
|
|
||
|
|
||
|
def new_engine() -> AsyncEngine:
|
||
|
return create_async_engine(
|
||
|
"postgresql+asyncpg://postgres:postgres@localhost:5432/mothership"
|
||
|
)
|