Skip to content

Migrate contribs client to main client#1075

Merged
esoteric-ephemera merged 21 commits intomainfrom
contribs
May 7, 2026
Merged

Migrate contribs client to main client#1075
esoteric-ephemera merged 21 commits intomainfrom
contribs

Conversation

@esoteric-ephemera
Copy link
Copy Markdown
Collaborator

See MPContribs #1982 for more details about client reorganization.

Pulls mpcontribs-client into mp_api as an optional add-on. Changes include:

  • Reorganize client into modules for easier editing
  • Replace some quasi-deprecated packages in favor of those already in the stack (e.g., ujson in favor of orjson)
  • Align the syntaxes of the main API client and the MPC client (i.e., consistent naming of class kwargs)
  • dynamically constructed pydantic models for returned data types in contribs

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Apr 7, 2026

Codecov Report

❌ Patch coverage is 53.67603% with 775 lines in your changes missing coverage. Please review.
✅ Project coverage is 73.55%. Comparing base (c2147cf) to head (8c0646a).

Files with missing lines Patch % Lines
mp_api/client/contribs/client.py 37.76% 692 Missing ⚠️
mp_api/client/contribs/_types.py 74.70% 43 Missing ⚠️
mp_api/client/contribs/utils.py 70.68% 17 Missing ⚠️
mp_api/client/contribs/schemas.py 92.15% 12 Missing ⚠️
mp_api/client/contribs/_logger.py 85.71% 6 Missing ⚠️
mp_api/client/contribs/settings.py 91.48% 4 Missing ⚠️
mp_api/client/core/schemas.py 98.57% 1 Missing ⚠️

❗ There is a different number of reports uploaded between BASE (c2147cf) and HEAD (8c0646a). Click for more details.

HEAD has 1 upload less than BASE
Flag BASE (c2147cf) HEAD (8c0646a)
3 2
Additional details and impacted files
@@             Coverage Diff             @@
##             main    #1075       +/-   ##
===========================================
- Coverage   86.70%   73.55%   -13.15%     
===========================================
  Files          47       56        +9     
  Lines        2632     4239     +1607     
===========================================
+ Hits         2282     3118      +836     
- Misses        350     1121      +771     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@esoteric-ephemera esoteric-ephemera merged commit 5bdefe4 into main May 7, 2026
4 checks passed
@esoteric-ephemera esoteric-ephemera deleted the contribs branch May 7, 2026 21:39
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.

2 participants