| Adam Israel | dcdf82b | 2017-08-15 15:26:43 -0400 | [diff] [blame] | 1 | from . import model |
| 2 | |||||
| 3 | |||||
| 4 | class Action(model.ModelEntity): | ||||
| 5 | @property | ||||
| 6 | def status(self): | ||||
| 7 | return self.data['status'] | ||||
| 8 | |||||
| 9 | async def wait(self): | ||||
| 10 | return await self.model.wait_for_action(self.id) | ||||