From d24e4e0044454190c3fff4d49126432f737dc032 Mon Sep 17 00:00:00 2001 From: Heng Pan Date: Sat, 22 Jun 2024 12:11:25 +0100 Subject: [PATCH] support 3.8 --- src/py/flwr/common/record/typeddict.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/py/flwr/common/record/typeddict.py b/src/py/flwr/common/record/typeddict.py index 978926f082f4..791077d8eff2 100644 --- a/src/py/flwr/common/record/typeddict.py +++ b/src/py/flwr/common/record/typeddict.py @@ -15,8 +15,7 @@ """Typed dict base class for *Records.""" -from collections.abc import MutableMapping -from typing import Callable, Dict, Generic, Iterator, TypeVar, cast +from typing import Callable, Dict, Generic, Iterator, MutableMapping, TypeVar, cast K = TypeVar("K") # Key type V = TypeVar("V") # Value type