acupedia-api/app/features/admin/repository.py

8 lines
274 B
Python

from __future__ import annotations
from sqlalchemy.ext.asyncio import AsyncSession
class AdminRepository:
"""Feature persistence boundary over the shared four-schema AsyncSession."""
def __init__(self, session: AsyncSession) -> None:
self.session = session