From b885167cc1b8007c5add419170fde7fc9053ab21 Mon Sep 17 00:00:00 2001 From: Will Barnes Date: Fri, 20 Feb 2026 17:50:31 -0500 Subject: [PATCH] correct docstring, log successful export request --- drms/client.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drms/client.py b/drms/client.py index 24e29b7..b89dc96 100644 --- a/drms/client.py +++ b/drms/client.py @@ -248,7 +248,7 @@ def status(self): - 3 = Request too large for automatic requests. - 4 = Request not formed correctly, bad series, etc. - 5 = Request old, results requested after data timed out. - - 1 = The backend process was terminated (typically when the user cancels the export request). + - -1 = The backend process was terminated (typically when the user cancels the export request). Reference --------- @@ -476,6 +476,7 @@ def wait(self, *, timeout=None, sleep=5, retries_notfound=5): if self.has_finished(): self._raise_on_error() + logger.info(f"Export request finished. [id={idstr}, status={self._status}]") return True if self._status == self._status_code_notfound: # Raise exception, if no retries are left.