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