Remove get_session_context setting of host (now read only op as expected). Make session host, ip and user_agent always set (the ua potentially empty string).

This commit is contained in:
Leo Vasanko
2026-01-28 02:14:34 +00:00
parent 78a7c4f07a
commit 9983245652
6 changed files with 35 additions and 35 deletions
+3 -3
View File
@@ -190,9 +190,9 @@ class Session(msgspec.Struct, dict=True):
user: UUID
credential: UUID
host: str | None
ip: str | None
user_agent: str | None
host: str
ip: str
user_agent: str
expiry: datetime
def __post_init__(self):