--- a/schema.py Mon Jul 05 19:06:17 2010 +0200
+++ b/schema.py Tue Jul 06 09:39:06 2010 +0200
@@ -417,7 +417,7 @@
# avoid deleting the relation type accidentally...
self.schema['has_text'].del_relation_def(self, self.schema['String'])
- def schema_entity(self):
+ def schema_entity(self): # XXX @property for consistency with meta
"""return True if this entity type is used to build the schema"""
return self.type in SCHEMA_TYPES
@@ -441,7 +441,7 @@
def meta(self):
return self.type in META_RTYPES
- def schema_relation(self):
+ def schema_relation(self): # XXX @property for consistency with meta
"""return True if this relation type is used to build the schema"""
return self.type in SCHEMA_TYPES