Instantiating OptimadeClient with the skip_ssl flag like so:
from optimade.client import OptimadeClient
client = OptimadeClient(skip_ssl= True, ...)
Does not really have any effect on disabling SSL verification. I was able to sort myself out for the time being by hacking away here:
|
async with self._http_client(headers=self.headers) as client: # type: ignore[union-attr,call-arg,misc] |
into this:
async with self._http_client(headers=self.headers, verify = not self.skip_ssl) as client: # type: ignore[union-attr,call-arg,misc]
Not sure of the ramifications tough.
Instantiating OptimadeClient with the skip_ssl flag like so:
Does not really have any effect on disabling SSL verification. I was able to sort myself out for the time being by hacking away here:
optimade-python-tools/optimade/client/client.py
Line 950 in 86f7fa8
into this:
Not sure of the ramifications tough.