Skip to content

Commit 1a53d82

Browse files
committed
Fix type checking
1 parent a7a5102 commit 1a53d82

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

linkml_runtime/utils/context_utils.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@
66
import yaml
77
from jsonasobj2 import JsonObj, loads
88

9+
from typing import TYPE_CHECKING
10+
11+
if TYPE_CHECKING:
12+
from linkml_runtime.utils.namespaces import Namespaces
13+
14+
915
CONTEXT_TYPE = Union[str, dict, JsonObj]
1016
CONTEXTS_PARAM_TYPE = Optional[Union[CONTEXT_TYPE, list[CONTEXT_TYPE]]]
1117

0 commit comments

Comments
 (0)