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://[email protected]/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
Uh oh!
There was an error while loading. Please reload this page.
-
See example code:
I'm not sure is it a proper fix, but replacing all
DictwithMutableMappingright there solves the issue:httpx/httpx/_transports/asgi.py
Lines 19 to 26 in 326b943
httpx==0.27.0fastapi==0.109.2pyright==1.1.351Beta Was this translation helpful? Give feedback.
All reactions