Skip to content

Commit f6d48e2

Browse files
committed
Fix List vs list for casting
1 parent 8c40df1 commit f6d48e2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

case_utils/case_validate/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
import os
3838
import sys
3939
import warnings
40-
from typing import Any, Dict, Optional, Set, Tuple, Union
40+
from typing import Any, Dict, List, Optional, Set, Tuple, Union
4141

4242
import pyshacl # type: ignore
4343
import rdflib
@@ -86,7 +86,7 @@ def concept_is_cdo_concept(n_concept: rdflib.URIRef) -> bool:
8686

8787

8888
def get_ontology_graph(
89-
case_version: Optional[str] = None, supplemental_graphs: Optional[list[str]] = None
89+
case_version: Optional[str] = None, supplemental_graphs: Optional[List[str]] = None
9090
) -> rdflib.Graph:
9191
"""
9292
Get the ontology graph for the given case_version and any supplemental graphs.
@@ -184,7 +184,7 @@ def get_invalid_cdo_concepts(
184184
def validate(
185185
input_file: str,
186186
case_version: Optional[str] = None,
187-
supplemental_graphs: Optional[list[str]] = None,
187+
supplemental_graphs: Optional[List[str]] = None,
188188
abort_on_first: bool = False,
189189
) -> ValidationResult:
190190
"""

0 commit comments

Comments
 (0)