oops house keeping work
This commit is contained in:
parent
cddb6a98c8
commit
870b703296
|
@ -522,8 +522,7 @@ class Parser (Process):
|
|||
if not schema :
|
||||
merger = jsonmerge
|
||||
|
||||
_claim = merger.merge(DEFAULT_VALUE.copy(),_claim)
|
||||
print (['billing_pr_name' in _claim, 'billing_pr_name' in DEFAULT_VALUE])
|
||||
_claim = merger.merge(DEFAULT_VALUE.copy(),_claim)
|
||||
claims.append( _claim)
|
||||
segment = [row]
|
||||
|
||||
|
@ -546,6 +545,8 @@ class Parser (Process):
|
|||
|
||||
else:
|
||||
schema = None
|
||||
#
|
||||
# @TODO: Fix merger related to schema (drops certain fields ... NOT cool)
|
||||
if not schema :
|
||||
merger = jsonmerge
|
||||
merger = jsonmerge.Merger(schema)
|
||||
|
|
Loading…
Reference in New Issue