Skip to content

Commit 8c40df1

Browse files
committed
Make type generic to account for multiple return types
1 parent b509dc5 commit 8c40df1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

case_utils/case_validate/__init__.py

Lines changed: 2 additions & 2 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 Dict, Optional, Set, Tuple, Union
40+
from typing import Any, Dict, Optional, Set, Tuple, Union
4141

4242
import pyshacl # type: ignore
4343
import rdflib
@@ -67,7 +67,7 @@ class NonExistentCDOConceptWarning(UserWarning):
6767

6868
class ValidationResult:
6969
conforms: bool
70-
graph: Graph
70+
graph: Any
7171
text: str
7272
undefined_concepts: Set[rdflib.URIRef]
7373

0 commit comments

Comments
 (0)