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

Refactor the route POST: /api/tools to FastAPI #17295

Draft
wants to merge 52 commits into
base: dev
Choose a base branch
from

Conversation

heisner-tillman
Copy link
Contributor

@heisner-tillman heisner-tillman commented Jan 15, 2024

This is a part of #10889.

Summary

  • Refactored API route
    • POST: /api/tools
  • Added pydantic model to input
  • Added pydantic model to return
  • Removed the mapping to the legacy route

How to test the changes?

image

License

  • I agree to license these and all my past contributions to the core galaxy codebase under the MIT license.

@davelopez
Copy link
Contributor

@heisner-tillman can you fix the conflict? You might resolve it just by regenerating the schema again.

@mvdbeek mvdbeek modified the milestones: 24.0, 24.1 Mar 5, 2024
@heisner-tillman heisner-tillman force-pushed the tools branch 2 times, most recently from b644a37 to 3afc2fd Compare March 28, 2024 11:02
…on as uuid via the pydantic model, as it is expected to be of this type further down the line
@heisner-tillman heisner-tillman marked this pull request as draft September 6, 2024 11:51
@jdavcs jdavcs modified the milestones: 24.2, 25.0 Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants