It raises the same exception as reported by this bug:
TypeError: wrap_socket() got an unexpected keyword argument '_context'
And the sample code is like the one in netapp dataontap driver (manila/share/drivers/netapp/dataontap/client/api.py).
Both of them use `urllib.request.HTTPBasicAuthHandler` to open requests.
I have no netapp device, so I can't figure out how netapp dataontap driver works around this issue.
The environment I am using:
Python 3.7.2, 3.7.3 and 3.7.4
eventlet==0.25.0
six==1.12.0
I wrote a sample code with `eventlet`, `urllib` and `python37`: https:/ /gist.github. com/Murray- LIANG/9b506d98c f76d633a9d0e82f 2bb5ece5
It raises the same exception as reported by this bug:
TypeError: wrap_socket() got an unexpected keyword argument '_context'
And the sample code is like the one in netapp dataontap driver (manila/ share/drivers/ netapp/ dataontap/ client/ api.py) . request. HTTPBasicAuthHa ndler` to open requests.
Both of them use `urllib.
I have no netapp device, so I can't figure out how netapp dataontap driver works around this issue.
The environment I am using:
Python 3.7.2, 3.7.3 and 3.7.4
eventlet==0.25.0
six==1.12.0