cdsapi icon indicating copy to clipboard operation
cdsapi copied to clipboard

fix ambiguous verify default value

Open akeeman opened this issue 4 years ago • 1 comments

The default value of Client's verify argument is None, which currently resolves to True when stuff is load from an rc-file, and to False otherwise. Let's be more straight forward and let it always resolve to the same thing, and let's be safe by default. The problem was intoduced by https://github.com/ecmwf/cdsapi/commit/28ac54c3bdef69fb2c80c6ab56424a7f493f91d5

akeeman avatar Apr 13 '21 14:04 akeeman

CLA assistant check
All committers have signed the CLA.

FussyDuck avatar Apr 13 '21 14:04 FussyDuck

Hi, I addressed this in PR #64 . The implementation is basically the same except I did it in a separate if statement for readability puposes. Thanks for you contribution! Eddy

EddyCMWF avatar Feb 27 '23 15:02 EddyCMWF