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 redundant legacy API endpoints #13582
Conversation
It seems there are some legacy endpoints that bypass the FastAPI ones. The |
Oh, nice catch, yes, we can probably drop the middleware |
I can't find a trace of this being used in the client. We should re-implement it as a ASGI middleware if we've identified a need for it, but I don't love how this makes the call a potentially very long blocking call. To fetch many items in batch we might be better off using Server Sent Events, which can trickle out intermediate updates.
and drop require_admin, users can have permission to update libraries (see also dropped legacy endpoint that did not enfore this).
70b2901
to
cfa51ef
Compare
The ConfigProvider isn't strictly necessary, passing the store to mounted component would have been sufficient to make `getGalaxyInstance().config` work.
cfa51ef
to
1896215
Compare
692eb3c
to
df3d438
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Everything looks good! Only found a missing route that may be an alias.
Thank you so much also for the fixes and cleaning of unused routes!
This PR was merged without a "kind/" label, please correct. |
Builds on #13579 to identify what needs to be dropped from buildapp.py.
How to test the changes?
(Select all options that apply)
License