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:
parent
0c29cef17d
commit
eb170cc7e5
315 changed files with 6975 additions and 3577 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue