Skip to content

Commit daf87ac

Browse files
committed
set defaults for conversion function
1 parent f0ce2a1 commit daf87ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reproschema/jsonldutils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def validate_data(data, shape_file_path):
7575
return conforms, v_text
7676

7777

78-
def to_newformat(path, format, prefixfile, contextfile):
78+
def to_newformat(path, format, prefixfile=None, contextfile=None):
7979
"""Convert a JSONLD document to n-triples format
8080
8181
Since PyLD requires an http url, a local server is started to serve the

0 commit comments

Comments
 (0)