Closed dries007 closed 1 year ago
Thanks for the catch. Will fix ASAP
I do not think it breaks anything however, it's only the wrong type definition (albeit confusing)
No, it works perfectly well, but PyCharm complains about the key not exsiting and I don't like squiggly lines under my code :smile:
Thanks for maintaining this BTW.
I don't like squiggly lines under my code
That makes two of us ;)
Fixed in 0.0.16 :)
In the rust library the netmask is called "mask" and so it's passed to Python that way, but the Python type definition has
Literal["netmask"]
instead.I propose you change
Literal["netmask"]
toLiteral["mask"]
to not break existing scripts, thanks.(This is a deviation from the old netifaces package BTW)