| commit | dcdf82bbc1ef310379f746518b2dd3b006353cb3 | [log] [tgz] |
|---|---|---|
| author | Adam Israel <adam.israel@canonical.com> | Tue Aug 15 15:26:43 2017 -0400 |
| committer | Adam Israel <adam.israel@canonical.com> | Tue Aug 15 15:26:43 2017 -0400 |
| tree | b9682d216c9aafbe4b3c09f08bd43313a59b49a0 |
Squashed 'modules/libjuju/' content from commit c50c361 git-subtree-dir: modules/libjuju git-subtree-split: c50c361a8b9a3bbf1a33f5659e492b481f065cd2
diff --git a/juju/action.py b/juju/action.py new file mode 100644 index 0000000..7a136a7 --- /dev/null +++ b/juju/action.py
@@ -0,0 +1,10 @@ +from . import model + + +class Action(model.ModelEntity): + @property + def status(self): + return self.data['status'] + + async def wait(self): + return await self.model.wait_for_action(self.id)