Pyright can't tell what's required when mixing **kwargs: Unpack
with partial
#9181
Labels
bug
Something isn't working
**kwargs: Unpack
with partial
#9181
Discussed in #9180
Originally posted by naddeoa October 8, 2024
When you use Unpack to define the kwargs of a function (
fn
below) then pyright loses the ability to tell which args are actually required or not after you also usepartial
on that function. I'm not even sure if this a pyright issue or a typeshed issue. In general, things kind of get weird depending on the pyright version when you start using Unpack.The text was updated successfully, but these errors were encountered: