Skip to content

Commit

Permalink
Remove references to fastapi-utils.cbv
Browse files Browse the repository at this point in the history
  • Loading branch information
jdavcs committed Dec 17, 2023
1 parent da5a71f commit c8efefd
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions lib/galaxy/webapps/galaxy/api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
APIKeyHeader,
APIKeyQuery,
)
from fastapi_utils.cbv import cbv
from pydantic import ValidationError
from pydantic.main import BaseModel
from starlette.datastructures import Headers
Expand Down Expand Up @@ -442,15 +441,6 @@ def _handle_galaxy_kwd(self, kwd):

return kwd

@property
def cbv(self):
"""Short-hand for frequently used Galaxy-pattern of FastAPI class based views.
Creates a class-based view for for this router, for more information see:
https://fastapi-utils.davidmontague.xyz/user-guide/class-based-views/
"""
return cbv(self)


class Router(FrameworkRouter):
admin_user_dependency = AdminUserRequired
Expand Down

0 comments on commit c8efefd

Please sign in to comment.