chore: initialize project repository

This commit is contained in:
Codex
2026-09-09 21:55:37 +08:00
commit b1497fd2c6
167 changed files with 17690 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
from collections.abc import AsyncIterator
from sqlalchemy.ext.asyncio import AsyncSession
from app.infrastructure.db import SessionFactory
async def get_session() -> AsyncIterator[AsyncSession]:
async with SessionFactory() as session:
yield session