kwargs python class init code example Example: how to make default kwargs in python self.val2 = kwargs.get('val2',"default value")