Skip to content

Commit

Permalink
docs: Add comment about jsonref.JsonRef usage
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Oct 28, 2022
1 parent 8fbe1c1 commit 2721036
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ocdskit/mapping_sheet.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ def mapping_sheet(schema, order_by=None, infer_required=False, extension_field=N
kwargs = {'include_codelist': include_codelist, 'include_deprecated': include_deprecated}

if not include_definitions:
# jsonref.JsonRef is deprecated, but used for backwards-compatibility with jsonref 0.x.
schema = jsonref.JsonRef.replace_refs(schema, base_uri=base_uri, jsonschema=True)

rows = []
Expand Down

0 comments on commit 2721036

Please sign in to comment.