equal
deleted
inserted
replaced
96 |
96 |
97 @cachedproperty |
97 @cachedproperty |
98 def rtypes(self): |
98 def rtypes(self): |
99 if 'rtypes' in self.kwargs: |
99 if 'rtypes' in self.kwargs: |
100 return self.kwargs['rtypes'] |
100 return self.kwargs['rtypes'] |
101 cstrname = unicode(self.kwargs['cstrname']) |
101 cstrname = text_type(self.kwargs['cstrname']) |
102 cstr = self.session.find('CWUniqueTogetherConstraint', name=cstrname).one() |
102 cstr = self.session.find('CWUniqueTogetherConstraint', name=cstrname).one() |
103 return sorted(rtype.name for rtype in cstr.relations) |
103 return sorted(rtype.name for rtype in cstr.relations) |
104 |
104 |
105 @cachedproperty |
105 @cachedproperty |
106 def args(self): |
106 def args(self): |