cloudinit/netinfo.py
[error] invalid-argument-type -
:596:25 -
Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[Any, Any, Any], /) -> LiteralString, (key: SupportsIndex | slice[Any, Any, Any], /) -> str]` cannot be called with key of type `Literal["ip"]` on object of type `str`
[error] invalid-argument-type -
:597:25 -
Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[Any, Any, Any], /) -> LiteralString, (key: SupportsIndex | slice[Any, Any, Any], /) -> str]` cannot be called with key of type `Literal["mask"]` on object of type `str`
[warning] possibly-unbound-attribute -
:598:25 -
Attribute `get` on type `str | @Todo(Support for `TypedDict`)` is possibly unbound
[error] invalid-argument-type -
:609:25 -
Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[Any, Any, Any], /) -> LiteralString, (key: SupportsIndex | slice[Any, Any, Any], /) -> str]` cannot be called with key of type `Literal["ip"]` on object of type `str`
[warning] possibly-unbound-attribute -
:611:25 -
Attribute `get` on type `str | @Todo(Support for `TypedDict`)` is possibly unbound
cloudinit/sources/DataSourceVMware.py
[error] invalid-argument-type -
:1017:20 -
Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[Any, Any, Any], /) -> LiteralString, (key: SupportsIndex | slice[Any, Any, Any], /) -> str]` cannot be called with key of type `Literal["ip"]` on object of type `str`
[error] invalid-argument-type -
:1027:20 -
Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[Any, Any, Any], /) -> LiteralString, (key: SupportsIndex | slice[Any, Any, Any], /) -> str]` cannot be called with key of type `Literal["ip"]` on object of type `str`
[error] invalid-argument-type -
:1155:62 -
Argument to function `convert_to_netifaces_ipv4_format` is incorrect: Expected `dict[Unknown, Unknown]`, found `str`
[error] invalid-argument-type -
:1157:62 -
Argument to function `convert_to_netifaces_ipv6_format` is incorrect: Expected `dict[Unknown, Unknown]`, found `str`