Update mypy to 1.1.1 (#89268)

* Update mypy to 1.1.1
* Update pydantic to 1.10.6
This commit is contained in:
Marc Mueller
2023-03-08 22:57:54 +01:00
committed by GitHub
parent bfae8992a9
commit 386533a16f
11 changed files with 27 additions and 15 deletions

View File

@ -8,7 +8,7 @@ from .util.async_ import protect_loop
def enable() -> None:
"""Enable the detection of blocking calls in the event loop."""
# Prevent urllib3 and requests doing I/O in event loop
HTTPConnection.putrequest = protect_loop( # type: ignore[assignment]
HTTPConnection.putrequest = protect_loop( # type: ignore[method-assign]
HTTPConnection.putrequest
)