[bug 581] Fix parameter checking if no data-type
[osm/N2VC.git] / modules / libjuju / juju / action.py
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)