schema fix

pull/82593/head
Brian Coca 1 month ago
parent f43a4bd591
commit 3ebf41865a

@ -772,10 +772,11 @@ def deprecation_schema(for_collection):
Exclusive('singular', 'alt', msg=alt_msg): {
Required('alternative'): doc_string
},
Required('removed_from_collection'): collection_name,
'removed': Any(True),
}
if for_collection:
main_fields.update({Required('removed_from_collection'): collection_name, 'removed': Any(True)})
date_schema = {
Required('removed_at_date'): date(),
}

Loading…
Cancel
Save