Skip to content

Commit 8f957dc

Browse files
committed
Forward arguments with unpacking syntax
Signed-off-by: Alex Nelson <alexander.nelson@nist.gov>
1 parent d41a418 commit 8f957dc

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
@@ -94,6 +94,7 @@ def validate(
9494
bool, Union[Exception, bytes, str, rdflib.Graph], str
9595
] = pyshacl.validate(
9696
data_graph,
97+
*args,
9798
shacl_graph=ontology_graph,
9899
ont_graph=ontology_graph,
99100
inference=inference,
@@ -103,8 +104,7 @@ def validate(
103104
allow_warnings=False,
104105
debug=False,
105106
do_owl_imports=False,
106-
args=args,
107-
kwargs=kwargs,
107+
**kwargs,
108108
)
109109

110110
# Relieve RAM of the data graph after validation has run.

0 commit comments

Comments
 (0)