Ejemplo n.º 1
0
class MsgStatus(ampy.Command):
    arguments = [("key", ampy.String())]
    response = [("percent", ampy.String())]
    errors = {MsgError: "MsgError"}
Ejemplo n.º 2
0
class _Ask(amp.Command):
    arguments = [('initialdir', amp.String())]
    response = [("path", amp.Unicode())]
    errors = {exceptions.DialogCanceledException: 'DIALOG_CANCELED'}
Ejemplo n.º 3
0
class MsgAdd(ampy.Command):
    arguments = [("filename", ampy.String())]
    response = [("key", ampy.String())]
    errors = {MsgError: "MsgError"}