test/data/schema.py
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 24 Jun 2009 15:26:32 +0200
changeset 34 8f2eff358816
child 108 6adea1a62e97
permissions -rw-r--r--
needs to specify which entity types can be classified

from yams.buildobjs import RelationDefinition

class applied_to(RelationDefinition):
    subject = 'Keyword'
    object = ('CWGroup', 'CWUser')