Dear all,
I just wanted to give a heads up that cads-api-client package introduces breaking changes in version 1.3.1 for cdsapi=0.7.2, with the error:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/opt/conda/envs/cdsapi/lib/python3.8/site-packages/cads_api_client/legacy_api_client.py", line 177, in retrieve
return submitted if target is None else submitted.download(target)
File "/opt/conda/envs/cdsapi/lib/python3.8/site-packages/cads_api_client/legacy_api_client.py", line 143, in wrapper
return func(*args, **kwargs)
File "/opt/conda/envs/cdsapi/lib/python3.8/site-packages/cads_api_client/processing.py", line 451, in download
download_options = {"stream": True} | self.download_options
TypeError: unsupported operand type(s) for |: 'dict' and 'dict'
This was tested with the examples from the how-to-api page and an arbitrary request using the ‘API request’ part on the web interface.
Not sure how newer versions are affected.
Kind regards
Marko