2024-03-04 13:15:28 +03:00
|
|
|
from api.uow.uow_base import UowBase
|
2024-03-04 07:12:29 +03:00
|
|
|
|
|
|
|
|
|
|
|
class UserRepository:
|
2024-03-04 13:15:28 +03:00
|
|
|
def __init__(self, uow: UowBase) -> None:
|
|
|
|
self.uow = uow
|
2024-03-04 07:12:29 +03:00
|
|
|
|
2024-03-04 13:15:28 +03:00
|
|
|
async def get_all_users(self):
|
|
|
|
return await self.uow.get_all_users()
|