NoneType and style fixes for placement parsing lib
[osm/N2VC.git] / juju / action.py
index 941fa94..7a136a7 100644 (file)
@@ -2,4 +2,9 @@ from . import model
 
 
 class Action(model.ModelEntity):
-    pass
+    @property
+    def status(self):
+        return self.data['status']
+
+    async def wait(self):
+        return await self.model.wait_for_action(self.id)