Closed rijenkii closed 1 month ago
Argument headers has type Optional[Dict[Unknown, Unknown]], which makes pyright scream and shout in strict mode:
headers
Optional[Dict[Unknown, Unknown]]
Type of "publish" is partially unknown Type of "publish" is "(subject: str, payload: bytes = b'', timeout: float | None = None, stream: str | None = None, headers: Dict[Unknown, Unknown] | None = None) -> Coroutine[Any, Any, PubAck]"PylancereportUnknownMemberType
Argument
headers
has typeOptional[Dict[Unknown, Unknown]]
, which makes pyright scream and shout in strict mode: