Skip to content

Commit

Permalink
made sure that streaming and power sockets are handled more properly …
Browse files Browse the repository at this point in the history
…in the NAT parser
  • Loading branch information
CommanderStorm committed Oct 18, 2024
1 parent 608ac84 commit e626629
Show file tree
Hide file tree
Showing 3 changed files with 75 additions and 162 deletions.
5 changes: 3 additions & 2 deletions data/external/models/nat.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,6 @@ class Room(PydanticConfiguration):
schedule_url: str | None
seatings: list[SeatingPlan]
seats: int | None
steckdosen: TranslatableStr | None
streaming: str | None
teaching: bool
# semi-random sets of ids
# pylint: disable-next=invalid-name
Expand All @@ -79,7 +77,10 @@ class Room(PydanticConfiguration):
room_identifier: str | None
campus_id: str | None
building_code: str
steckdosen: TranslatableStr | None = None
org_id: int | None = None
streaming_webcam: bool = False
streaming_tumlive: bool = False

@classmethod
def load_all(cls) -> dict[str, "Room"]:
Expand Down
Loading

0 comments on commit e626629

Please sign in to comment.