From e59db6a4d43159719f06d8d3dfccd073d4e3a873 Mon Sep 17 00:00:00 2001 From: nnsnodnb Date: Sun, 29 Dec 2024 19:10:53 +0900 Subject: [PATCH] Ignore override Ref: https://github.com/python/mypy/issues/18115 --- kalyke/models/apns_config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kalyke/models/apns_config.py b/kalyke/models/apns_config.py index 51b25ae..699bf76 100644 --- a/kalyke/models/apns_config.py +++ b/kalyke/models/apns_config.py @@ -40,7 +40,7 @@ def make_headers(self) -> Dict[str, str]: @dataclass(frozen=True) -class LiveActivityApnsConfig(ApnsConfig): +class LiveActivityApnsConfig(ApnsConfig): # type: ignore[override] push_type: ApnsPushType = field(default=ApnsPushType.LIVEACTIVITY, init=False) def __post_init__(self): @@ -52,7 +52,7 @@ def __post_init__(self): @dataclass(frozen=True) -class VoIPApnsConfig(ApnsConfig): +class VoIPApnsConfig(ApnsConfig): # type: ignore[override] push_type: ApnsPushType = field(default=ApnsPushType.VOIP, init=False) def __post_init__(self):