master
Steve L. Nyemba 4 years ago
parent 26f40107fc
commit 0870e3da6a

@ -578,7 +578,7 @@ class Parser (Process):
schema = {"properties":{}} schema = {"properties":{}}
for attr in claim.keys() : for attr in claim.keys() :
schema['properties'][attr] = {"mergeStrategy": "append" if type(claim[attr]) == list else "overwrite" } schema['properties'][attr] = {"mergeStrategy": "append" if type(claim[attr]) == list else "overwrite" }
merger = jsonmerge.Merger(schema)
_baseclaim = None _baseclaim = None
_baseclaim = merger.merge(_baseclaim,copy.deepcopy(DEFAULT_VALUE)) _baseclaim = merger.merge(_baseclaim,copy.deepcopy(DEFAULT_VALUE))
claim = merger.merge(_baseclaim,claim) claim = merger.merge(_baseclaim,claim)

@ -8,7 +8,7 @@ import sys
def read(fname): def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read() return open(os.path.join(os.path.dirname(__file__), fname)).read()
args = { args = {
"name":"healthcareio","version":"1.6.2.24", "name":"healthcareio","version":"1.6.3.0",
"author":"Vanderbilt University Medical Center", "author":"Vanderbilt University Medical Center",
"author_email":"steve.l.nyemba@vumc.org", "author_email":"steve.l.nyemba@vumc.org",
"include_package_data":True, "include_package_data":True,

Loading…
Cancel
Save