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
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)