equal
deleted
inserted
replaced
567 return self.transaction_data.get(key, default) |
567 return self.transaction_data.get(key, default) |
568 |
568 |
569 @deprecated('use entity_from_eid(eid, etype=None)') |
569 @deprecated('use entity_from_eid(eid, etype=None)') |
570 def entity(self, eid): |
570 def entity(self, eid): |
571 """return a result set for the given eid""" |
571 """return a result set for the given eid""" |
572 return self.eid_rset(eid).get_entity(0, 0) |
572 return self.entity_from_eid(eid) |
573 |
573 |
574 |
574 |
575 class ChildSession(Session): |
575 class ChildSession(Session): |
576 """child (or internal) session are used to hijack the security system |
576 """child (or internal) session are used to hijack the security system |
577 """ |
577 """ |