-
Notifications
You must be signed in to change notification settings - Fork 967
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
Add FastAPI routes for Library Folders #12131
Merged
jmchilton
merged 9 commits into
galaxyproject:dev
from
davelopez:fastapi_library_folders
Jul 1, 2021
Merged
Add FastAPI routes for Library Folders #12131
jmchilton
merged 9 commits into
galaxyproject:dev
from
davelopez:fastapi_library_folders
Jul 1, 2021
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
github-actions
bot
added
area/API
area/libraries
Data libraries
area/testing
area/testing/api
labels
Jun 11, 2021
davelopez
force-pushed
the
fastapi_library_folders
branch
from
June 12, 2021 09:47
0ba6db2
to
f97404f
Compare
davelopez
added
kind/enhancement
kind/refactoring
cleanup or refactoring of existing code, no functional changes
labels
Jun 12, 2021
davelopez
force-pushed
the
fastapi_library_folders
branch
from
June 15, 2021 15:47
f97404f
to
98dcf2a
Compare
|
This should simplify the imports and will allow to reuse the models or decompose them more easily
The time format should be handled by the client and the serialization will be made in the pydantic model, so we can remove this `strftime`
When the `action` was defined directly in the query parameters instead of the request body it wasn't getting to the manager.
Some more tests using POST didn't send the request in JSON format.
davelopez
force-pushed
the
fastapi_library_folders
branch
from
June 25, 2021 10:16
98dcf2a
to
1b47ec9
Compare
Awesome - looks like solid refactorings to me! Thanks so much. |
3 tasks
55 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area/API
area/libraries
Data libraries
area/testing/api
area/testing
kind/enhancement
kind/refactoring
cleanup or refactoring of existing code, no functional changes
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is part of the efforts to migrate the full Galaxy API to FastAPI see #10889.
This PR also moves some existing pydantic models to the
lib/galaxy/schema/schema.py
module as discussed in the Gitter channel for better reusability.How to test the changes?
http://localhost:8080/api/docs/
License