lf5/backend/__init__.py
2024-01-23 15:58:54 +01:00

7 lines
No EOL
192 B
Python

#!/usr/bin/env python3
from .database import db
import os
async def startup():
await db.signin({"user": os.getenv('DB_USER'), "pass": os.getenv('DB_PW')})
await db.use("test", "test")