Module pipettin-piper.piper.commanders.dummy

Classes

class Dummy (*args, **kwargs)
Expand source code
class Dummy:
    """
    This parent class must define 'terminal' methods,
    and be the last parent for the 'Controller' class.
    This is helps other parent classes not worry about which
    one is "last" and just write 'super().test()' everywhere.
    """
    # Note that if one method is awaitable, all must be called in this way.
    sio = None
    plugin_error=PluginError
    def __init__(self, *args, **kwargs):
        logging.debug("Dummy: initialized.")
        return None
    async def test(self, *args, **kw):
        logging.debug("Dummy: test.")
    async def close(self, *args, **kw):
        logging.debug("Dummy: closing.")
    async def status(self, *args, **kw):
        return {}

This parent class must define 'terminal' methods, and be the last parent for the 'Controller' class. This is helps other parent classes not worry about which one is "last" and just write 'super().test()' everywhere.

Class variables

var plugin_error
var sio

Methods

async def close(self, *args, **kw)
Expand source code
async def close(self, *args, **kw):
    logging.debug("Dummy: closing.")
async def status(self, *args, **kw)
Expand source code
async def status(self, *args, **kw):
    return {}
async def test(self, *args, **kw)
Expand source code
async def test(self, *args, **kw):
    logging.debug("Dummy: test.")
class PluginError
Expand source code
class PluginError:
    @property
    def status(self):
        return False

Instance variables

prop status
Expand source code
@property
def status(self):
    return False