Skip to content

Commit 9b63569

Browse files
committed
Fixed issue where certian versions of Python don't recoginze dict as a type
1 parent 1db84f5 commit 9b63569

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

linkml_runtime/utils/context_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def to_file_uri(fname: str) -> str:
5050
JsonObj(**{"@context": context_list[0] if len(context_list) == 1 else context_list})
5151

5252

53-
def map_import(importmap: dict[str, str], namespaces: Callable[[None], "Namespaces"], imp: Any) -> str:
53+
def map_import(importmap: Dict[str, str], namespaces: Callable[[None], "Namespaces"], imp: Any) -> str:
5454
sname = str(imp)
5555
if ':' in sname:
5656
prefix, lname = sname.split(':', 1)

0 commit comments

Comments
 (0)