|
|
@ -523,7 +523,6 @@ class Parser (Process):
|
|
|
|
merger = jsonmerge
|
|
|
|
merger = jsonmerge
|
|
|
|
|
|
|
|
|
|
|
|
_claim = merger.merge(DEFAULT_VALUE.copy(),_claim)
|
|
|
|
_claim = merger.merge(DEFAULT_VALUE.copy(),_claim)
|
|
|
|
print (['billing_pr_name' in _claim, 'billing_pr_name' in DEFAULT_VALUE])
|
|
|
|
|
|
|
|
claims.append( _claim)
|
|
|
|
claims.append( _claim)
|
|
|
|
segment = [row]
|
|
|
|
segment = [row]
|
|
|
|
|
|
|
|
|
|
|
@ -546,6 +545,8 @@ class Parser (Process):
|
|
|
|
|
|
|
|
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|
schema = None
|
|
|
|
schema = None
|
|
|
|
|
|
|
|
#
|
|
|
|
|
|
|
|
# @TODO: Fix merger related to schema (drops certain fields ... NOT cool)
|
|
|
|
if not schema :
|
|
|
|
if not schema :
|
|
|
|
merger = jsonmerge
|
|
|
|
merger = jsonmerge
|
|
|
|
merger = jsonmerge.Merger(schema)
|
|
|
|
merger = jsonmerge.Merger(schema)
|
|
|
|