Skip to content
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

add __repr__ impl for PySnapshot #12622

Merged
merged 2 commits into from
Aug 23, 2021
Merged

Conversation

tdyas
Copy link
Contributor

@tdyas tdyas commented Aug 21, 2021

Add a __repr__ impl for PySnapshot that actually displays its fields. This will make it easier to dump a Snapshot to the log when debugging plugins. (Otherwise, callers have to manually log each of the fields individually.)

[ci skip-build-wheels]

[ci skip-build-wheels]
[ci skip-build-wheels]
@tdyas tdyas merged commit 01ba4f2 into pantsbuild:main Aug 23, 2021
@tdyas tdyas deleted the pysnapshot_repr_impl branch August 23, 2021 19: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