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:
2026-01-28 02:14:34 +00:00
parent d156fb9221
commit d3d5f5a3c8
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):