don't handle nested lists

master
Alexander Graf 4 years ago
parent 70a1c79f81
commit 1e2b5f26ab

@ -668,7 +668,7 @@ class BaseSchema(ma.SQLAlchemyAutoSchema):
# currently: domain.alternatives, user.forward_destination, # currently: domain.alternatives, user.forward_destination,
# user.manager_of, aliases.destination # user.manager_of, aliases.destination
for key, value in data.items(): for key, value in data.items():
if isinstance(value, list): if not isinstance(self.fields[key], fields.Nested) and isinstance(value, list):
new_value = set(value) new_value = set(value)
# handle list pruning # handle list pruning
if '-prune-' in value: if '-prune-' in value:

Loading…
Cancel
Save