equal
deleted
inserted
replaced
71 self._closed = False |
71 self._closed = False |
72 |
72 |
73 def __str__(self): |
73 def __str__(self): |
74 return '<%ssession %s (%s 0x%x)>' % (self.cnxtype, self.user.login, |
74 return '<%ssession %s (%s 0x%x)>' % (self.cnxtype, self.user.login, |
75 self.id, id(self)) |
75 self.id, id(self)) |
|
76 |
|
77 @property |
|
78 def schema(self): |
|
79 return self.repo.schema |
76 |
80 |
77 def add_relation(self, fromeid, rtype, toeid): |
81 def add_relation(self, fromeid, rtype, toeid): |
78 if self.is_super_session: |
82 if self.is_super_session: |
79 self.repo.glob_add_relation(self, fromeid, rtype, toeid) |
83 self.repo.glob_add_relation(self, fromeid, rtype, toeid) |
80 return |
84 return |