[python] Proper way to use **kwargs in Python