[schema] use explicit imports in schema declaration
authorAdrien Di Mascio <Adrien.DiMascio@logilab.fr>
Mon, 27 Jul 2009 08:39:10 +0200
changeset 43 75f21450e58d
parent 42 2ff35a51458d
child 46 61dd37b6bd83
[schema] use explicit imports in schema declaration
schema.py
--- a/schema.py	Mon Jul 06 17:17:07 2009 +0200
+++ b/schema.py	Mon Jul 27 08:39:10 2009 +0200
@@ -5,6 +5,12 @@
 :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
 """
 
+from yams.buildobjs import (MetaUserEntityType, MetaUserRelationType,
+                            SubjectRelation, ObjectRelation,
+                            String)
+
+from cubicweb.schema import RQLConstraint, ERQLExpression
+
 class Classification(MetaUserEntityType):
     """classification schemes are used by users to classify entities.
     """