Summary
Given this small code block:
import grpc
try:
something = 1
except grpc.RpcError as e:
e.code()
I'm getting this error: warning[unresolved-attribute]: Type RpcErrorhas no attributecode``
This type exists in typeshed and pyright seems to pick it up and does not complain. But ty does.
Version
ty 0.0.1-alpha.19 (e9cb838 2025-08-19)
Summary
Given this small code block:
I'm getting this error:
warning[unresolved-attribute]: TypeRpcErrorhas no attributecode``This type exists in typeshed and pyright seems to pick it up and does not complain. But
tydoes.Version
ty 0.0.1-alpha.19 (e9cb838 2025-08-19)