Skip to content

Commit f83bdb5

Browse files
committed
minor fix in ResourceV1API.untag
1 parent 3e8d1f0 commit f83bdb5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

openml/_api/resources/base/versions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ def untag(self, resource_id: int, tag: str) -> list[str]:
166166

167167
legal_resources = {"data", "task", "flow", "setup", "run"}
168168
if resource_type not in legal_resources:
169-
raise ValueError(f"Can't tag a {resource_type}")
169+
raise ValueError(f"Can't untag a {resource_type}")
170170

171171
path = f"{resource_type}/untag"
172172
data = {f"{resource_type}_id": resource_id, "tag": tag}

0 commit comments

Comments
 (0)