I came across this post when searching how to resolve the mypy issue of the OP. Upon searching through one of the links mentioned above I found this comment, which was a simple fix to appease mypy: just use _Pointer.
mypy
_Pointer