Python Kwargs dostaje

self.val2 = kwargs.get('val2',"default value")
Silly Shrew