From 0b0e70e1ed90a719ecf615930e0ab05bcdb41c8f Mon Sep 17 00:00:00 2001 From: tomtana Date: Sun, 17 Mar 2024 23:47:34 +0100 Subject: [PATCH] fix type hints --- pyglinet/glinet_api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyglinet/glinet_api.py b/pyglinet/glinet_api.py index 53bf324..31ec077 100644 --- a/pyglinet/glinet_api.py +++ b/pyglinet/glinet_api.py @@ -11,7 +11,7 @@ class GlInetApiCall: - def __init__(self, data: dict, session): + def __init__(self, data: Dict[str, Any], session): self._session = session for name, value in data.items(): setattr(self, name, self._wrap(value)) @@ -85,7 +85,7 @@ def __str__(self): class GlInetApi: - def __init__(self, data: dict[str, Any], session): + def __init__(self, data: Dict[str, Any], session): self._session = session if isinstance(data, dict) and data.get("case_groups_data", None): for name, value in data.get("case_groups_data").items():