equal
deleted
inserted
replaced
59 def user(self): |
59 def user(self): |
60 """return the user entity which has done the transaction, |
60 """return the user entity which has done the transaction, |
61 none if not found. |
61 none if not found. |
62 """ |
62 """ |
63 return self.req.execute('Any X WHERE X eid %(x)s', |
63 return self.req.execute('Any X WHERE X eid %(x)s', |
64 {'x': self.user_eid}, 'x').get_entity(0, 0) |
64 {'x': self.user_eid}).get_entity(0, 0) |
65 |
65 |
66 def actions_list(self, public=True): |
66 def actions_list(self, public=True): |
67 """return an ordered list of action effectued during that transaction |
67 """return an ordered list of action effectued during that transaction |
68 |
68 |
69 if public is true, return only 'public' action, eg not ones triggered |
69 if public is true, return only 'public' action, eg not ones triggered |