Skip to content

Commit

Permalink
add code comment to explain code block Draft v2.0.0 - Error in new bu…
Browse files Browse the repository at this point in the history
…ild system prevents correct schema generation #152
  • Loading branch information
jh-RLI committed Oct 22, 2024
1 parent c42f9ed commit bde61d1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions metadata/v20/build_source/scripts/resolve_schema_refs.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,9 @@ def resolve_top_level_properties(schema, registry, base_uri):
resources = {}
for _k, _v in resolved_value["items"].items():
if isinstance(_v, dict):
# Update all values instead of key:values to
# avoid adding schema_structure.json wrapper
# objects
for element in _v.values():
resources.update(element)
resolved_properties[prop] = resolved_value
Expand Down

0 comments on commit bde61d1

Please sign in to comment.