Skip to content

Commit 1a9b652

Browse files
update study tags NotImplementedErrors
1 parent de22ee7 commit 1a9b652

1 file changed

Lines changed: 14 additions & 2 deletions

File tree

openml/study/study.py

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,11 +175,23 @@ def _to_dict(self) -> dict[str, dict]:
175175

176176
def push_tag(self, tag: str) -> None:
177177
"""Add a tag to the study."""
178-
raise NotImplementedError("Tags for studies is not (yet) supported.")
178+
raise NotImplementedError(
179+
"Tag management for studies is not yet supported."
180+
"The OpenML Python SDK does not currently provide functionality"
181+
"for adding tags to studies."
182+
"For updates on this feature, please refer to the GitHub issues at: "
183+
"https://github.com/openml/openml-python/issues"
184+
)
179185

180186
def remove_tag(self, tag: str) -> None:
181187
"""Remove a tag from the study."""
182-
raise NotImplementedError("Tags for studies is not (yet) supported.")
188+
raise NotImplementedError(
189+
"Tag management for studies is not yet supported."
190+
"The OpenML Python SDK does not currently provide functionality"
191+
"for removing tags from studies."
192+
"For updates on this feature, please refer to the GitHub issues at: "
193+
"https://github.com/openml/openml-python/issues"
194+
)
183195

184196

185197
class OpenMLStudy(BaseStudy):

0 commit comments

Comments
 (0)