Skip to content

Commit

Permalink
fix: px.Client().get_dataset_versions should use self._client.get
Browse files Browse the repository at this point in the history
… instead of `httpx.get` (#5220)
  • Loading branch information
RogerHYang authored Oct 29, 2024
1 parent 78942cd commit c810e16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/phoenix/session/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit c810e16

Please sign in to comment.