Source code for simudo.util.setattr_init_mixin
__all__ = ['SetattrInitMixin']
[docs]class SetattrInitMixin(object):
def __init__(self, **kwargs):
''' see class docstring for relevant attributes '''
for k, v in kwargs.items():
setattr(self, k, v)