-
Notifications
You must be signed in to change notification settings - Fork 74
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
implementing Variant.__repr__ #2695
Conversation
Codecov Report
@@ Coverage Diff @@
## main #2695 +/- ##
===========================================
- Coverage 94.00% 80.86% -13.14%
===========================================
Files 29 29
Lines 28070 27782 -288
Branches 1585 1312 -273
===========================================
- Hits 26386 22465 -3921
- Misses 1648 5221 +3573
- Partials 36 96 +60
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Looks great, thanks @chriscrsmith! Can you paste in an example of what this looks like please? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @chriscrsmith!
Just a couple of minor comments, then it's good to merge.
Example output:
And a longer example, from
|
LGTM, thanks @chriscrsmith ! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you update the CHANGELOG with your contribution also please @chriscrsmith?
done! |
Great! Just needs commit squash and we're good to merge I think |
done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great, thanks @chriscrsmith. Almost there, just need the changelog in the right place. As we only just released I haven't made a new section yet - sorry!
added tests for contents edit changelog fix changelog entry
Fixed the changelog, and squashed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @chriscrsmith!
Description
Returning a string representation of the raw data for a variant without spewing megabytes of text.
Fixes #2694
Notes:
len(repr(variant)) < 10000
PR Checklist: