Skip to content

Commit 6a17a48

Browse files
committed
Type hint. Again to see if rolling build cancels job properly.
1 parent 28c289f commit 6a17a48

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

openml/runs/run.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ def _create_description_xml(self):
460460
description_xml = xmltodict.unparse(description, pretty=True)
461461
return description_xml
462462

463-
def push_tag(self, tag):
463+
def push_tag(self, tag: str) -> None:
464464
"""Annotates this run with a tag on the server.
465465
466466
Parameters
@@ -471,7 +471,7 @@ def push_tag(self, tag):
471471
data = {'run_id': self.run_id, 'tag': tag}
472472
openml._api_calls._perform_api_call("/run/tag", 'post', data=data)
473473

474-
def remove_tag(self, tag):
474+
def remove_tag(self, tag: str) -> None:
475475
"""Removes a tag from this run on the server.
476476
477477
Parameters

0 commit comments

Comments
 (0)