fixies
This commit is contained in:
parent
77c00bb011
commit
e0e556b30a
@ -1,9 +1,9 @@
|
||||
import logging
|
||||
from dataclasses import field, dataclass
|
||||
from datetime import datetime
|
||||
from typing import Optional, Union, Callable
|
||||
from typing import Optional, Callable
|
||||
|
||||
from rio import Column, Component, event, TextStyle, Text, Spacer, PointerEvent, Button, Popup, Checkbox, Card, Row
|
||||
from rio import Column, Component, event, TextStyle, Text, Spacer, PointerEvent, Button, Popup, Card, Row
|
||||
|
||||
from src.ez_lan_manager import ConfigurationService, CateringService, SeatingService, AccountingService
|
||||
from src.ez_lan_manager.components.CateringManagementOrderDisplay import CateringManagementOrderDisplay
|
||||
|
||||
@ -10,8 +10,8 @@ logger = logging.getLogger(__name__.split(".")[-1])
|
||||
# Note for ToDo: rio.UserSettings are saved LOCALLY, do not just read a user_id here!
|
||||
@dataclass(frozen=False)
|
||||
class SessionStorage:
|
||||
_user_id: Optional[int] = 28 # DEBUG: Put user ID here to skip login
|
||||
_is_team_member: bool = True
|
||||
_user_id: Optional[int] = None # DEBUG: Put user ID here to skip login
|
||||
_is_team_member: bool = False
|
||||
_notification_callbacks: dict[str, Callable] = field(default_factory=dict)
|
||||
|
||||
async def clear(self) -> None:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user