server/session.py
changeset 2630 b3f997bc8c26
parent 2623 e1f34b77290b
child 2647 b0a2e779845c
--- a/server/session.py	Sat Aug 01 16:17:47 2009 +0200
+++ b/server/session.py	Sat Aug 01 16:18:14 2009 +0200
@@ -74,6 +74,10 @@
         return '<%ssession %s (%s 0x%x)>' % (self.cnxtype, self.user.login,
                                              self.id, id(self))
 
+    @property
+    def schema(self):
+        return self.repo.schema
+
     def add_relation(self, fromeid, rtype, toeid):
         if self.is_super_session:
             self.repo.glob_add_relation(self, fromeid, rtype, toeid)