diff --git a/uptime_kuma_api/api.py b/uptime_kuma_api/api.py index 36fe904..cf86537 100644 --- a/uptime_kuma_api/api.py +++ b/uptime_kuma_api/api.py @@ -13,7 +13,7 @@ import requests import socketio from packaging.version import parse as parse_version -from . import (AuthMethod, +from . import (AuthMethod, DockerType, Event, IncidentStyle, @@ -33,6 +33,7 @@ from .docstrings import (append_docstring, proxy_docstring, tag_docstring) + def int_to_bool(data, keys) -> None: if isinstance(data, list): for d in data: @@ -147,7 +148,7 @@ def _build_status_page_data( icon: str = "/icon.svg", publicGroupList: list = None -) -> tuple(str, dict, str, list): +) -> tuple[str, dict, str, list]: if theme not in ["light", "dark"]: raise ValueError if not domainNameList: