selectors.py
changeset 4327 e397b921c40f
parent 4320 4efd4c306746
child 4340 cc0fe6279181
equal deleted inserted replaced
4326:b930d140d321 4327:e397b921c40f
   392 
   392 
   393 
   393 
   394 class multi_etypes_rset(multi_lines_rset):
   394 class multi_etypes_rset(multi_lines_rset):
   395 
   395 
   396     @lltrace
   396     @lltrace
   397     def __call__(self, cls, req, rset=None, **kwargs):
   397     def __call__(self, cls, req, rset=None, col=0, **kwargs):
   398         return rset and self.match_expected(len(rset.column_types(col)))
   398         return rset and self.match_expected(len(rset.column_types(col)))
   399 
   399 
   400 
   400 
   401 class non_final_entity(EClassSelector):
   401 class non_final_entity(EClassSelector):
   402     """accept if entity type found in the result set is non final.
   402     """accept if entity type found in the result set is non final.