Neda/Back/domains/users/service.py
2026-03-07 19:09:49 +03:30

6 lines
187 B
Python

from sqlalchemy.ext.asyncio import AsyncSession
from domains.users.repo import get_user_by_id
async def get_user(db: AsyncSession, user_id):
return await get_user_by_id(db, user_id)