1
0
Fork 0
mirror of https://github.com/mealie-recipes/mealie.git synced 2025-07-24 15:49:42 +02:00

feat: Add Households to Mealie (#3970)

This commit is contained in:
Michael Genson 2024-08-22 10:14:32 -05:00 committed by GitHub
parent 0c29cef17d
commit eb170cc7e5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
315 changed files with 6975 additions and 3577 deletions

View file

@ -3,6 +3,7 @@ from typing import Any
from uuid import UUID
from mealie.db.models.users.users import AuthMethod
from mealie.repos.repository_factory import AllRepositories
@dataclass
@ -12,9 +13,15 @@ class TestUser:
username: str
password: str
_group_id: UUID
_household_id: UUID
token: Any
auth_method = AuthMethod.MEALIE
repos: AllRepositories
@property
def group_id(self) -> str:
return str(self._group_id)
@property
def household_id(self) -> str:
return str(self._household_id)