I'm using __init__() like this in some SQLAlchemy ORM classes that have many parameters (upto 20).
__init__()
def __init__(self, **kwargs): for k, v in kwargs.iteritems(): setattr(self, k, v)
Is it "pythonic" to set attributes like this?