Skip to content

Commit

Permalink
Add type:ignore to silence mypy until bug is resolved
Browse files Browse the repository at this point in the history
This is a legitimate bug that needs to be addressed.
  • Loading branch information
jdavcs committed Aug 14, 2023
1 parent 955cd84 commit 6c33ad3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/galaxy/webapps/galaxy/api/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -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},
)
Expand Down

0 comments on commit 6c33ad3

Please sign in to comment.