Skip to content

Commit a9652e7

Browse files
authored
Fix merge error -> recursion bug in dataset.info (#157)
* Fix merge error -> recursion bug in dataset.info * Bump patch
1 parent c4c4793 commit a9652e7

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

nucleus/dataset.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,9 @@ def info(self) -> DatasetInfo:
241241
Returns:
242242
:class:`DatasetInfo`
243243
"""
244-
response = self._client.dataset_info(self.id)
244+
response = self._client.make_request(
245+
{}, f"dataset/{self.id}/info", requests.get
246+
)
245247
dataset_info = DatasetInfo.parse_obj(response)
246248
return dataset_info
247249

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ exclude = '''
2121

2222
[tool.poetry]
2323
name = "scale-nucleus"
24-
version = "0.3.0"
24+
version = "0.3.1"
2525
description = "The official Python client library for Nucleus, the Data Platform for AI"
2626
license = "MIT"
2727
authors = ["Scale AI Nucleus Team <nucleusapi@scaleapi.com>"]

0 commit comments

Comments
 (0)