Skip to content

Add __repr__ and __str__ to Selections class#828

Merged
PythonFZ merged 1 commit intomainfrom
feature/selections-repr
Dec 23, 2025
Merged

Add __repr__ and __str__ to Selections class#828
PythonFZ merged 1 commit intomainfrom
feature/selections-repr

Conversation

@PythonFZ
Copy link
Copy Markdown
Member

Display selections with truncation for large lists (>5 items shows first 3 plus count). Keys are sorted alphabetically for consistent output.

🤖 Generated with Claude Code

Display selections with truncation for large lists (>5 items shows first
3 plus count). Keys are sorted alphabetically for consistent output.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Dec 23, 2025

Warning

Rate limit exceeded

@PythonFZ has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 6 minutes and 47 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

📥 Commits

Reviewing files that changed from the base of the PR and between 25e7e45 and c2d9889.

📒 Files selected for processing (2)
  • src/zndraw/zndraw.py
  • tests/test_vis_selections.py
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feature/selections-repr

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Dec 23, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 78.49%. Comparing base (25e7e45) to head (c2d9889).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #828      +/-   ##
==========================================
- Coverage   78.57%   78.49%   -0.09%     
==========================================
  Files         153      153              
  Lines       18559    18587      +28     
==========================================
+ Hits        14582    14589       +7     
- Misses       3977     3998      +21     

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

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@PythonFZ PythonFZ merged commit d824a32 into main Dec 23, 2025
6 checks passed
@PythonFZ PythonFZ deleted the feature/selections-repr branch December 23, 2025 10:49
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