From 4a1fd1cdff089724f52d9142d6357139e1d44581 Mon Sep 17 00:00:00 2001 From: doublehoon Date: Tue, 4 Nov 2025 09:46:43 +0100 Subject: [PATCH] Update type annotations in design.py to use modern Python 3.12+ syntax Fixes #106 --- kaprese/utils/design.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kaprese/utils/design.py b/kaprese/utils/design.py index 9085e14..047174b 100644 --- a/kaprese/utils/design.py +++ b/kaprese/utils/design.py @@ -1,8 +1,8 @@ -from typing import Any, Dict +from typing import Any class Singleton(type): - __instances: Dict[type, Any] = {} + __instances: dict[type, Any] = {} def __call__(cls, *args: Any, **kwargs: Any) -> Any: if cls not in cls.__instances: