From 82e7b3425b009c24e1af0cd08447559e42986daf Mon Sep 17 00:00:00 2001 From: Daniel <d.hornung@indiscale.com> Date: Thu, 2 Nov 2023 18:05:06 +0100 Subject: [PATCH] MAINT: Compatibility with py3.7 --- src/caosadvancedtools/json_schema_exporter.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/caosadvancedtools/json_schema_exporter.py b/src/caosadvancedtools/json_schema_exporter.py index 536282d5..cc3ee26e 100644 --- a/src/caosadvancedtools/json_schema_exporter.py +++ b/src/caosadvancedtools/json_schema_exporter.py @@ -23,7 +23,7 @@ """ from collections import OrderedDict -from typing import Any, Iterable, List, Optional, Union +from typing import Any, Dict, Iterable, List, Optional, Union import linkahead as db from linkahead.common.datatype import get_list_datatype, is_list_datatype @@ -353,7 +353,7 @@ out : dict return result -def merge_schemas(schemas: Union[dict[str, dict], Iterable[dict]]) -> dict: +def merge_schemas(schemas: Union[Dict[str, dict], Iterable[dict]]) -> dict: """Merge the given schemata into a single schema. The result will look like this: -- GitLab