From 86e52deb3b70400512835556c1711f3db9779607 Mon Sep 17 00:00:00 2001 From: ChuanmingMao <myosotis.mao@gmail.com> Date: Mon, 23 Dec 2024 00:50:30 +0100 Subject: [PATCH 1/4] added "detail:min" parameter --- pyvo/dal/tap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyvo/dal/tap.py b/pyvo/dal/tap.py index ad6d2399..3380c46f 100644 --- a/pyvo/dal/tap.py +++ b/pyvo/dal/tap.py @@ -149,7 +149,7 @@ def tables(self): if self._tables is None: tables_url = '{}/tables'.format(self.baseurl) - response = self._session.get(tables_url, stream=True) + response = self._session.get(tables_url, params={"detail":"min"}, stream=True) try: response.raise_for_status() From 63b744350851d28b0d4f1701b8ae39d78513fee8 Mon Sep 17 00:00:00 2001 From: ChuanmingMao <myosotis.mao@gmail.com> Date: Tue, 14 Jan 2025 21:22:12 +0100 Subject: [PATCH 2/4] fixed style problem --- pyvo/dal/tap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyvo/dal/tap.py b/pyvo/dal/tap.py index 3380c46f..b1ff21f8 100644 --- a/pyvo/dal/tap.py +++ b/pyvo/dal/tap.py @@ -149,7 +149,7 @@ def tables(self): if self._tables is None: tables_url = '{}/tables'.format(self.baseurl) - response = self._session.get(tables_url, params={"detail":"min"}, stream=True) + response = self._session.get(tables_url, params={"detail": "min"}, stream=True) try: response.raise_for_status() From 08a1bdbee822ca3ef0bda054a03655cff07d30dc Mon Sep 17 00:00:00 2001 From: ChuanmingMao <myosotis.mao@gmail.com> Date: Tue, 14 Jan 2025 21:29:55 +0100 Subject: [PATCH 3/4] Add bug fix description in changes.rst --- CHANGES.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGES.rst b/CHANGES.rst index fef5c8da..8494a44b 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -19,6 +19,8 @@ Bug Fixes - Fix string literal generation for SQL query when using numpy >=2.0. [#624] +- Try minimal VOSI tables downloads by default for TAP metadata [#634] + 1.6 (2024-11-01) ================ From b5b8d7833ffa0516110daa5a688c5152ce2a6204 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Brigitta=20Sip=C5=91cz?= <b.sipocz@gmail.com> Date: Tue, 14 Jan 2025 13:01:53 -0800 Subject: [PATCH 4/4] DOC: Rephrase changelog --- CHANGES.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGES.rst b/CHANGES.rst index 8494a44b..c8d278c8 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -19,7 +19,7 @@ Bug Fixes - Fix string literal generation for SQL query when using numpy >=2.0. [#624] -- Try minimal VOSI tables downloads by default for TAP metadata [#634] +- Switch to do minimal VOSI tables downloads for TAP metadata. [#634] 1.6 (2024-11-01)