Skip to content

Commit c81e048

Browse files
Added use of pydash to merge rulesets of tiers
Signed-off-by: Natalia Luzuriaga <[email protected]>
1 parent 9f930cc commit c81e048

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/extendJSON/resolve.py

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import sys
22
import json
3+
import pydash
34
from urllib.request import urlopen, Request
45

56
def get_json_dict_from_url(url):
@@ -28,6 +29,8 @@ def resolve_extended_json_file(file_data_dict):
2829

2930
resolve = resolve_extended_json_file(superJsonDict)
3031

32+
pydash.merge(resolve, file_data_dict)
33+
3134
resolve['rules'].update(file_data_dict)
3235
resolve['rules'].pop('axioms')
3336
resolve['rules'].pop('$schema')

0 commit comments

Comments
 (0)