Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Commit

Permalink
Fixed bug with in place merge_list
Browse files Browse the repository at this point in the history
  • Loading branch information
alongreyber committed Feb 22, 2021
1 parent dafc037 commit 2d0c69f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion json_schema_fuzz/merging.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,5 @@ def merge_list(schemas: List[Dict]) -> Dict:
""" Merge a list of JSON schemas together """
combined_schema = {}
for schema in schemas:
merge(combined_schema, schema)
merge(combined_schema, schema, in_place=True)
return combined_schema

0 comments on commit 2d0c69f

Please sign in to comment.