mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-11-02 18:23:40 -05:00
feat: Add Households to Mealie (#3970)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user