You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Luckily, the fix is fairly simple and works across all httpx versions that ariadne-codegen can be used with (0.23 and up); create a ASGITransport() instance and pass that in as the transport keyword argument:
In version 0.27, httpx deprecated the
app
keyword argument:and in version 0.28, the deprecated keyword was removed:
The ariadne-codegen tests use this keyword argument in the
main.test_generated_client::http_client
fixture:ariadne-codegen/tests/main/test_generated_client.py
Lines 47 to 49 in 11bfe35
Luckily, the fix is fairly simple and works across all httpx versions that ariadne-codegen can be used with (0.23 and up); create a
ASGITransport()
instance and pass that in as thetransport
keyword argument:The text was updated successfully, but these errors were encountered: