needs to specify which entity types can be classified
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 24 Jun 2009 15:26:32 +0200
changeset 34 8f2eff358816
parent 33 ae914aa94c2f
child 35 3fcc5ce85e14
needs to specify which entity types can be classified
test/data/schema.py
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test/data/schema.py	Wed Jun 24 15:26:32 2009 +0200
@@ -0,0 +1,5 @@
+from yams.buildobjs import RelationDefinition
+
+class applied_to(RelationDefinition):
+    subject = 'Keyword'
+    object = ('CWGroup', 'CWUser')