entities/test/data/schema.py
author sylvain.thenault@logilab.fr
Mon, 06 Apr 2009 16:11:38 +0200
changeset 1250 5c20a7f13c84
parent 0 b97547f5f1fa
child 1977 606923dff11b
permissions -rw-r--r--
new recreate argument to extid2eid when an external source want to recreate entities previously imported with a predictable ext id

class Company(EntityType):
    name = String()

class Division(Company):
    __specializes_schema__ = True

class SubDivision(Division):
    __specializes_schema__ = True