Skip to content

chore: add pprint() and pformat() methods to RESTObject #1812

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

Merged
merged 1 commit into from
Jan 9, 2022
Merged

Conversation

JohnVillalovos
Copy link
Member

This is useful in debugging and testing. As can easily print out the
values from an instance in a more human-readable form.

@JohnVillalovos JohnVillalovos force-pushed the jlvillal/pprint branch 2 times, most recently from 5c708fb to e34a2e2 Compare January 7, 2022 20:12
@codecov-commenter
Copy link

Codecov Report

Merging #1812 (e34a2e2) into main (9896340) will increase coverage by 0.07%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #1812      +/-   ##
==========================================
+ Coverage   92.02%   92.09%   +0.07%     
==========================================
  Files          76       76              
  Lines        4790     4797       +7     
==========================================
+ Hits         4408     4418      +10     
+ Misses        382      379       -3     
Flag Coverage Δ
cli_func_v4 81.32% <42.85%> (-0.06%) ⬇️
py_func_v4 80.15% <42.85%> (-0.06%) ⬇️
unit 83.28% <100.00%> (+0.08%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
gitlab/base.py 92.26% <100.00%> (+2.03%) ⬆️

Copy link
Member

@nejch nejch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just two tiny notes :)

This is useful in debugging and testing. As can easily print out the
values from an instance in a more human-readable form.
@JohnVillalovos JohnVillalovos requested a review from nejch January 9, 2022 01:57
@nejch nejch enabled auto-merge January 9, 2022 02:00
@nejch nejch merged commit bdc19b1 into main Jan 9, 2022
@nejch nejch deleted the jlvillal/pprint branch January 9, 2022 02:06
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.

3 participants