Typing issue: ASGITransport's app argument is not compatible with FastAPI/Starlette app. #3104
Unanswered
AlexanderPodorov
asked this question in
Potential Issue
Replies: 2 comments
-
Fixed by this one: #3109 pip install --upgrade 'httpx>=0.27.1' || pip install --upgrade --force-reinstall git+ssh://git@github.com/encode/httpx |
Beta Was this translation helpful? Give feedback.
0 replies
-
Is there any news when this latest update will be released? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
See example code:
I'm not sure is it a proper fix, but replacing all
Dict
withMutableMapping
right there solves the issue:httpx/httpx/_transports/asgi.py
Lines 19 to 26 in 326b943
httpx==0.27.0
fastapi==0.109.2
pyright==1.1.351
Beta Was this translation helpful? Give feedback.
All reactions