Fix validators on harvest_source_show schema

Remove validators on several keys so they don't get stripped during the
show validation.
This commit is contained in:
amercader 2014-10-08 12:02:26 +01:00
parent 623daa72c4
commit a3affc9702
1 changed files with 7 additions and 1 deletions

View File

@ -82,9 +82,15 @@ def harvest_source_show_package_schema():
'source_type': [convert_from_extras, ignore_missing], 'source_type': [convert_from_extras, ignore_missing],
'frequency': [convert_from_extras, ignore_missing], 'frequency': [convert_from_extras, ignore_missing],
'config': [convert_from_extras, harvest_source_convert_from_config, ignore_missing], 'config': [convert_from_extras, harvest_source_convert_from_config, ignore_missing],
'owner_org': [ignore_missing],
'metadata_created': [], 'metadata_created': [],
'metadata_modified': [], 'metadata_modified': [],
'owner_org': [],
'creator_user_id': [],
'organization': [],
'notes': [],
'revision_id': [],
'revision_timestamp': [],
'tracking_summary': [],
}) })
schema['__extras'] = [ignore] schema['__extras'] = [ignore]