chore: clear typehinting errors

This commit is contained in:
aclist committed 2026-05-12 15:58:09 +09:00
1 parent 2e5860650f
commit e52664cf9b
11 files changed
+35 -29

No files matched your search

+1 -1
View File
@@ -464,7 +464,7 @@ def query_by_ip(addr: str) -> A2SInfo:
record = short_ip_to_record(addr)
return query_by_record(record, update_gameport=True)
def query_by_id(server_id: int, key: str) -> dict[Any] | None:
def query_by_id(server_id: int, key: str) -> A2SInfo:
"""
Used with numeric Battlemetrics IDs
"""