chore: clear typehinting errors

This commit is contained in:
aclist committed 2026-05-14 16:15:22 +09:00
1 parent ea1b9facd2
commit 2ebe8cad84
9 files changed
+35 -27

No files matched your search

+2 -2
View File
@@ -1,6 +1,6 @@
import logging
import requests
from typing import Optional, TYPE_CHECKING
from typing import Any, Optional, TYPE_CHECKING
from dzgui.const.constants import APP_NAME
from dzgui.const.endpoints import BM_SERVERS
@@ -11,7 +11,7 @@ if TYPE_CHECKING:
from dzgui.api.servers import Record
def get_attributes(key: str, uid: int) -> str:
def get_attributes(key: str, uid: int) -> Any:
# TODO: handle if key is not set
# TODO: tests for malformed IDs/values