Skip to content

Commit 4f7023a

Browse files
committed
Properly load SecondaryFiles DSL
1 parent 9758922 commit 4f7023a

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

schema_salad/metaschema.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -337,6 +337,7 @@ def load(self, doc, baseuri, loadingOptions, docRoot=None):
337337
d
338338
)
339339
)
340+
r.append(new_dict)
340341

341342
else:
342343
raise ValidationException(
@@ -360,6 +361,7 @@ def load(self, doc, baseuri, loadingOptions, docRoot=None):
360361
doc
361362
)
362363
)
364+
r.append(new_dict)
363365

364366
elif isinstance(doc, str):
365367
if doc.endswith("?"):

schema_salad/python_codegen_support.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,7 @@ def load(self, doc, baseuri, loadingOptions, docRoot=None):
334334
d
335335
)
336336
)
337+
r.append(new_dict)
337338

338339
else:
339340
raise ValidationException(
@@ -357,6 +358,7 @@ def load(self, doc, baseuri, loadingOptions, docRoot=None):
357358
doc
358359
)
359360
)
361+
r.append(new_dict)
360362

361363
elif isinstance(doc, str):
362364
if doc.endswith("?"):

0 commit comments

Comments
 (0)