kwargs to dict code example Example: python dict to kwargs func(**{'type':'Event'}) # ^ is equivalent to v func(type='Event')