Skip to content

Commit

Permalink
Merge pull request #17184 from jdavcs/dev_remove_inferring_router
Browse files Browse the repository at this point in the history
Drop fastapi-utils.InferringRouter in favor of fastapi.APIRouter
  • Loading branch information
jdavcs authored Dec 13, 2023
2 parents 26ffc86 + d4b35df commit 59c2ed7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/galaxy/webapps/galaxy/api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@

from a2wsgi.wsgi import build_environ
from fastapi import (
APIRouter,
Form,
Header,
Query,
Expand All @@ -38,7 +39,6 @@
APIKeyQuery,
)
from fastapi_utils.cbv import cbv
from fastapi_utils.inferring_router import InferringRouter
from pydantic import ValidationError
from pydantic.main import BaseModel
from starlette.datastructures import Headers
Expand Down Expand Up @@ -353,8 +353,8 @@ class RestVerb(str, Enum):
options = "OPTIONS"


class FrameworkRouter(InferringRouter):
"""A FastAPI Inferring Router tailored to Galaxy."""
class FrameworkRouter(APIRouter):
"""A FastAPI Router tailored to Galaxy."""

admin_user_dependency: Any

Expand Down

0 comments on commit 59c2ed7

Please sign in to comment.