From c810e1694914280f024a4f713582dc37179090f0 Mon Sep 17 00:00:00 2001 From: Roger Yang <80478925+RogerHYang@users.noreply.github.com> Date: Tue, 29 Oct 2024 07:23:00 -0700 Subject: [PATCH] fix: `px.Client().get_dataset_versions` should use `self._client.get` instead of `httpx.get` (#5220) --- src/phoenix/session/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/phoenix/session/client.py b/src/phoenix/session/client.py index dd46e3a566..f19e1823d9 100644 --- a/src/phoenix/session/client.py +++ b/src/phoenix/session/client.py @@ -414,7 +414,7 @@ def get_dataset_versions( pandas DataFrame """ url = urljoin(self._base_url, f"v1/datasets/{dataset_id}/versions") - response = httpx.get(url=url, params={"limit": limit}) + response = self._client.get(url=url, params={"limit": limit}) response.raise_for_status() if not (records := response.json()["data"]): return pd.DataFrame()