updates serializer type (dictionary object)

This commit is contained in:
Mose Müller 2024-04-30 10:51:52 +02:00
parent 33aa8708fd
commit b2f59dd447

View File

@ -164,7 +164,9 @@ class Serializer:
}
@staticmethod
def _serialize_dict(obj: dict[str, Any], access_path: str = "") -> SerializedDict:
def _serialize_dict(
obj: dict[str | float, Any], access_path: str = ""
) -> SerializedDict:
readonly = False
doc = get_attribute_doc(obj)
value = {}