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
Describe the bug
The async httpx request methods do not expect the keyword argument verify. It shall be passed to the client, not the request method.
Traceback (most recent call last):
File "test.py", line 47, in <module>
loop.run_until_complete(main())
File "/usr/lib64/python3.6/asyncio/base_events.py", line 484, in run_until_complete
return future.result()
File "test.py", line 21, in main
resp = await post_auth_login.asyncio(json_body=body, client=client)
File "/dev/shm/env/lib64/python3.6/site-packages/construct_api_client/api/auth/post_auth_login.py", line 106, in asyncio
json_body=json_body,
File "/dev/shm/env/lib64/python3.6/site-packages/construct_api_client/api/auth/post_auth_login.py", line 91, in asyncio_detailed
response = await _client.post(**kwargs)
TypeError: post() got an unexpected keyword argument 'verify'
To Reproduce
Call any asyncio() method with the client option verify_ssl=False.
Expected behavior
The call should pass without a TypeError..
Desktop (please complete the following information):
OS: CentOS 7.6
Python Version: 3.6.8
openapi-python-client version: 0.10.5
The text was updated successfully, but these errors were encountered:
I found the fix for this in my case was to remove "verify": client.verify_ssl from the _get_kwargs function and pass it directly to the client setup instead eg...
Describe the bug
The async httpx request methods do not expect the keyword argument
verify
. It shall be passed to the client, not the request method.To Reproduce
Call any asyncio() method with the client option
verify_ssl=False
.Expected behavior
The call should pass without a TypeError..
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: