3 ms·
> properly typing kwargs is still not supported. I've been typing them with TypedDict for a while now and it's been fine. What can't you do?
by Spivak 1y ago
> properly typing kwargs is still not supported.
I've been typing them with TypedDict for a while now and it's been fine. What can't you do?
- reubenmorais 1y agoTwo examples that come to mind are: https://discuss.python.org/t/pep-692-using-typeddict-for-more-precise-kwargs-typing/17314 https://discuss.python.org/t/pep-692-using-typeddict-for-mor... and: https://github.com/python/typing/issues/1252 https://github.com/python/typing/issues/1252