Skip to content
Snippets Groups Projects
Verified Commit 82e7b342 authored by Daniel Hornung's avatar Daniel Hornung
Browse files

MAINT: Compatibility with py3.7

parent 33560217
Branches
Tags
2 merge requests!89ENH: JsonSchemaExporter accepts do_not_create parameter.,!83ENH: JsonSchemaExporter can merge schemata and arrayize them
Pipeline #43193 passed
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment