def configure(self, **kw):
        """Set the given parameter(s) of this Plugin instance.  Any number of
        parameters can be specified as keyword arguments.

        Raise an exception if caller specified a key that does not
        have a corresponding attribute.

        """
        for k, v in list(kw.items()):
            if not hasattr(self, k):
                raise Exception("%s has no attribute %s" % (self, k))
            setattr(self, k, v)
dataset/ETHPy150Open lsaffre/lino/lino/core/plugin.py/Plugin.configure/original