oops house keeping work

master
Steve L. Nyemba 4 years ago
parent cddb6a98c8
commit 870b703296

@ -522,8 +522,7 @@ class Parser (Process):
if not schema : if not schema :
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)

Loading…
Cancel
Save