def __init__(self, **kwargs):
    for (key, value) in iteritems(kwargs):
        setattr(self, key, value)
def __init__(self, **kwargs):
    for (key, value) in iteritems(kwargs):
        setattr(self, key, value)