summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaudouin Raoult <baudouin.raoult@ecmwf.int>2020-11-19 12:55:42 +0000
committerBaudouin Raoult <baudouin.raoult@ecmwf.int>2020-11-19 12:55:42 +0000
commit1e245c6039eea5c90381b362437f1c5f96624f05 (patch)
treea8d905e4e93c416bc3845a25ffd90fafba1a0d38
parent75600c8644562f4e729afbe9ca6d2d6b84dc1d08 (diff)
Fix
-rw-r--r--cdsapi/api.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cdsapi/api.py b/cdsapi/api.py
index 093f838..eb82e34 100644
--- a/cdsapi/api.py
+++ b/cdsapi/api.py
@@ -350,7 +350,7 @@ class Client(object):
result.download(target)
return result
- def service(self, name, *args, mimic_ui=False, **kwargs):
+ def service(self, name, mimic_ui=False, *args, **kwargs):
self.delete = False # Don't delete results
name = "/".join(name.split("."))
# To mimic the CDS ui the request should be populated directly with the kwargs