chore(types): update mypy version (#768)

* use latest mypy for check

* use separate variable for error_info list vs dict

* make wrapped call generic

* fix typing for nullable retry functions

* include async_rest in mypy installation

* removed generic application

---------

Co-authored-by: Anthonios Partheniou <partheniou@google.com>
6 files changed