From 77b2e09b8e855fed3c1cd84314949e4429630903 Mon Sep 17 00:00:00 2001 From: heisner-tillman Date: Thu, 4 Apr 2024 19:06:28 +0200 Subject: [PATCH] Remove unused typing --- lib/galaxy/webapps/galaxy/api/tools.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/lib/galaxy/webapps/galaxy/api/tools.py b/lib/galaxy/webapps/galaxy/api/tools.py index 32372be3631f..f4535d19cc55 100644 --- a/lib/galaxy/webapps/galaxy/api/tools.py +++ b/lib/galaxy/webapps/galaxy/api/tools.py @@ -16,7 +16,6 @@ UploadFile, ) from starlette.datastructures import UploadFile as StarletteUploadFile -from typing_extensions import Annotated from galaxy import ( exceptions, @@ -62,15 +61,6 @@ # Tool search bypasses the fulltext for the following list of terms SEARCH_RESERVED_TERMS_FAVORITES = ["#favs", "#favorites", "#favourites"] -CreateToolBody = Annotated[ - ExecuteToolPayload, - Body( - default=..., - title="", - description="", - ), -] - class FormDataApiRoute(APIContentTypeRoute): match_content_type = "multipart/form-data" @@ -84,8 +74,6 @@ class JsonApiRoute(APIContentTypeRoute): FetchDataForm = as_form(FetchDataFormPayload) -CreateDataForm = as_form(ExecuteToolPayload) - @router.cbv class FetchTools: