Skip to content

Add JSON export to item lists and item list collections#1089

Merged
mdekstrand merged 10 commits intolenskit:mainfrom
mdekstrand:feature/item-list-json
Apr 25, 2026
Merged

Add JSON export to item lists and item list collections#1089
mdekstrand merged 10 commits intolenskit:mainfrom
mdekstrand:feature/item-list-json

Conversation

@mdekstrand
Copy link
Copy Markdown
Member

This adds methods to export ItemList and ItemListCollection to JSON-compatible data (or JSON strings).

@mdekstrand mdekstrand added this to the 2026.2 milestone Apr 24, 2026
@mdekstrand mdekstrand self-assigned this Apr 24, 2026
@mdekstrand mdekstrand added the data Data management support. label Apr 24, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 24, 2026

Codecov Report

❌ Patch coverage is 92.68293% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 89.49%. Comparing base (adb9361) to head (dc34cae).
⚠️ Report is 10 commits behind head on main.

Files with missing lines Patch % Lines
src/lenskit/data/_adapt.py 85.71% 1 Missing ⚠️
src/lenskit/data/_collection/_base.py 93.33% 1 Missing ⚠️
src/lenskit/data/_items.py 80.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1089      +/-   ##
==========================================
+ Coverage   89.45%   89.49%   +0.03%     
==========================================
  Files         231      231              
  Lines       15983    16017      +34     
==========================================
+ Hits        14298    14334      +36     
+ Misses       1685     1683       -2     

☔ 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.

@mdekstrand mdekstrand merged commit dc34cae into lenskit:main Apr 25, 2026
41 checks passed
@mdekstrand mdekstrand deleted the feature/item-list-json branch April 25, 2026 15:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

data Data management support.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant