Mypy error | TypedDict incompatible with a Mapping #31098
Labels
Client
This issue points to a problem in the data-plane of the library.
Communication - Identity
Service Attention
Workflow: This issue is responsible by Azure service team.
Describe the bug
On the basis of raw_id, different Communication Identifiers are created and returned such as PhoneNumberIdentifier, MicrosoftTeamsUserIdentifier, MicrosoftBotIdentifier and so on.
Running mypy command, gives below error :
The protocol defined doesn't works for these types. Each identifier has a unique TypedDict which is incompatible with a Mapping (as described here : python/mypy#4976).
Creating this issue to look at the protocol and figure out the solution for this.
The text was updated successfully, but these errors were encountered: