Skip to content

Fastapi conversion#2071

Draft
bfoley12 wants to merge 132 commits into
devfrom
fastapi-conversion
Draft

Fastapi conversion#2071
bfoley12 wants to merge 132 commits into
devfrom
fastapi-conversion

Conversation

@bfoley12

Copy link
Copy Markdown
Collaborator

Summary

Start of major rewrite of the API server to FastAPI and other modern frameworks (pydantic, Beanie, etc.)

This PR is the essential groundwork of the rewrite. However, further PRs are necessary for full functionality.

Major TODOs after this PR

  • Downloads
    • This involves infra design to push data from Contributions and Components into S3 as parquet (maybe delta tables if it goes that far)
  • Unit normalization (Pint/Unyt)
    • Also entails making input data formatted strings, then internally parsing the formats into better representations (objects) before storage
  • Greatly expand telemetry
  • Ensure components are only deleted when no other contributions reference it

Minor TODOs after this PR:

  • Add indices to Beanie models
  • Remove notebooks
  • Remove CIF
  • Email notifications

bfoley12 added 30 commits May 28, 2026 11:13
…rom query. Users can now request partial documents with _fields
bfoley12 added 27 commits June 11, 2026 11:30
…ion later. MongoDbRepo now allows deleting multiple ids at once
…y_name and bucket_name out of router function defs since they are in flux
@bfoley12 bfoley12 self-assigned this Jun 16, 2026
@bfoley12 bfoley12 added this to the API Server Rewrite milestone Jun 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant