partizan, Turns out using
func(**kwargs)
becomes very inconvinient, when you're using type-checking.Pyright 1.1.312 landed a change:
> ... The new behavior matches that of mypy and assumes that the unpacked dict may supply arguments for all otherwise-unmatched keyword parameters even if they have default argument values.
https://github.com/microsoft/pyright/issues/5545
And now i need
# type: ignore
for each**kwargs
.@hynek any ideas how to approach this?
Or maybe someone on the #EuroPython ?
Add comment