File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -97,26 +97,26 @@ def get_split_dimensions(self):
9797 return self .split .repeats , self .split .folds , self .split .samples
9898
9999 def push_tag (self , tag ):
100- """Annotates this flow with a tag on the server.
100+ """Annotates this task with a tag on the server.
101101
102102 Parameters
103103 ----------
104104 tag : str
105- Tag to attach to the flow .
105+ Tag to attach to the task .
106106 """
107- data = {'flow_id ' : self .flow_id , 'tag' : tag }
108- _perform_api_call ("/flow /tag" , data = data )
107+ data = {'task_id ' : self .task_id , 'tag' : tag }
108+ _perform_api_call ("/task /tag" , data = data )
109109
110110 def remove_tag (self , tag ):
111- """Removes a tag from this flow on the server.
111+ """Removes a tag from this task on the server.
112112
113113 Parameters
114114 ----------
115115 tag : str
116- Tag to attach to the flow .
116+ Tag to attach to the task .
117117 """
118- data = {'flow_id ' : self .flow_id , 'tag' : tag }
119- _perform_api_call ("/flow /untag" , data = data )
118+ data = {'task_id ' : self .task_id , 'tag' : tag }
119+ _perform_api_call ("/task /untag" , data = data )
120120
121121
122122def _create_task_cache_dir (task_id ):
You can’t perform that action at this time.
0 commit comments