Skip to content

Commit

Permalink
mf
Browse files Browse the repository at this point in the history
  • Loading branch information
mam10eks committed Dec 10, 2024
1 parent 297175c commit 59771d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python-client/tira/rest_api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -856,7 +856,7 @@ def register_group(

return self.execute_post_return_json(endpoint, json_payload=body)

def modify_task(self, task_id: str, to_rename: dict[str, str]):
def modify_task(self, task_id: str, to_rename: "Dict[str, Any]"):
task = self.metadata_for_task(task_id)["context"]["task"]
fields_to_rename = {
"name": "task_name",
Expand Down
2 changes: 1 addition & 1 deletion python-client/tira/tira_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def get_run_execution_or_none(self, approach, dataset, previous_stage_run_id=Non
def docker_registry(self):
return "registry.webis.de"

def modify_task(self, task_id: str, to_rename: dict[str, str]):
def modify_task(self, task_id: str, to_rename: "Dict[str, Any]"):
# .. todo:: typehint
pass

Expand Down

0 comments on commit 59771d4

Please sign in to comment.