diff --git a/src/caosadvancedtools/json_schema_exporter.py b/src/caosadvancedtools/json_schema_exporter.py index 536282d5092f9d19ca6e192f2f69703fef437830..cc3ee26e366972e1f62dbfc449525dec5bfe7b28 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: