Initial commit

This commit is contained in:
2026-06-01 16:48:21 +02:00
commit 53d157535a
159 changed files with 13641 additions and 0 deletions
@@ -0,0 +1,12 @@
"""Abstract repository for User (login accounts)."""
from abc import abstractmethod
from app.entities.user import User
from app.repositories.base import Repository
class UserRepository(Repository[User]):
@abstractmethod
async def get_by_email(self, email: str) -> User | None:
"""Return the user with this email, or None if not found."""