|
|
@ -91,7 +91,7 @@ def meta(config) :
|
|
|
|
_info += get_field(_entry)
|
|
|
|
_info += get_field(_entry)
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|
_info += list(_entry.keys())
|
|
|
|
_info += list(_entry.keys())
|
|
|
|
elif set(['label','field','map']) & set(config[prefix].keys()):
|
|
|
|
if set(['label','field','map']) & set(config[prefix].keys()):
|
|
|
|
_entry = config[prefix]
|
|
|
|
_entry = config[prefix]
|
|
|
|
if 'map' in _entry :
|
|
|
|
if 'map' in _entry :
|
|
|
|
_info += get_field(_entry)
|
|
|
|
_info += get_field(_entry)
|
|
|
@ -111,7 +111,7 @@ def meta(config) :
|
|
|
|
else :
|
|
|
|
else :
|
|
|
|
|
|
|
|
|
|
|
|
fields['rel'] = jsonmerge.merge(fields['rel'],row)
|
|
|
|
fields['rel'] = jsonmerge.merge(fields['rel'],row)
|
|
|
|
|
|
|
|
|
|
|
|
return fields
|
|
|
|
return fields
|
|
|
|
def create (**_args) :
|
|
|
|
def create (**_args) :
|
|
|
|
skip = [] if 'skip' not in _args else _args['skip']
|
|
|
|
skip = [] if 'skip' not in _args else _args['skip']
|
|
|
|