Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop fastapi-utils.InferringRouter in favor of fastapi.APIRouter #17184

Merged
merged 1 commit into from
Dec 13, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading