We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents caafc5b + 8580822 commit a47d899Copy full SHA for a47d899
src/openapi_python_generator/language_converters/python/templates/httpx.jinja2
@@ -18,7 +18,7 @@
18
query_params = {key:value for (key,value) in query_params.items() if value is not None}
19
20
{% if async_client %}
21
-async with httpx.AsyncClient(base_url=base_path, verify=APIConfig.verify) as client:
+async with httpx.AsyncClient(base_url=base_path, verify=api_config.verify) as client:
22
response = await client.request(
23
{% else %}
24
with httpx.Client(base_url=base_path, verify=api_config.verify) as client:
0 commit comments