def update(self, dct):
        """Update the configuration with new parameters. Must use same
        kwargs as __init__"""
        d = self.__dict__.copy()
        d.update(dct)
        self.set_attrs(**d)
def update ( self , dct ) : d = self . __dict__ . copy ( ) d . update ( dct ) self . set_attrs ( ** d )
Update the configuration with new parameters. Must use same
        kwargs as __init__