misc/migration/3.21.1_Any.py
author Rabah Meradi <rabah.meradi@logilab.fr>
Tue, 15 Dec 2015 08:55:58 +0100
changeset 10973 0939ad2edf63
parent 10553 1d824df4f2bd
permissions -rw-r--r--
[adapters] Use an adapter for serializing entities to a bare python structure which may be used for e.g. JSON export or other and allow to have different serializations for each entity types. Closes #6378035

# re-read ComputedRelation permissions from schema.py now that we're
# able to serialize them
for computedrtype in schema.iter_computed_relations():
    sync_schema_props_perms(computedrtype.type)