def __init__(self, **params) : ConstrainedDict.__init__(self, requiredFields = "mandatory1 mandatory2".split(), defaultValues = dict( optional1="default1", optional2="default2", ), **params )
def __init__(self, **params) : ConstrainedDict.__init__(self, requiredFields = "key1".split(), defaultValues = dict(key2='default'), **params )