From 6c33ad37ca448551dd758a09499a2793b35fbc80 Mon Sep 17 00:00:00 2001 From: John Davis Date: Mon, 14 Aug 2023 14:49:50 -0400 Subject: [PATCH] Add type:ignore to silence mypy until bug is resolved This is a legitimate bug that needs to be addressed. --- lib/galaxy/webapps/galaxy/api/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/galaxy/webapps/galaxy/api/forms.py b/lib/galaxy/webapps/galaxy/api/forms.py index 5b217e612989..07650f0e89a6 100644 --- a/lib/galaxy/webapps/galaxy/api/forms.py +++ b/lib/galaxy/webapps/galaxy/api/forms.py @@ -56,7 +56,7 @@ def show(self, trans, id, **kwd): if not form_definition or not trans.user_is_admin: trans.response.status = 400 return f"Invalid form definition id ( {str(form_definition_id)} ) specified." - item = form_definition.to_dict( + item = form_definition.to_dict( # type:ignore[call-arg] # TODO: remove type:ignore when bug is resolved view="element", value_mapper={"id": trans.security.encode_id, "form_definition_current_id": trans.security.encode_id}, )