Skip to content

Add missing fields from repr #2803

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 24, 2023
Merged

Conversation

cgarciae
Copy link
Collaborator

What does this PR do?

Fixes #2791. Uses dataclass.fields instead of __annotations__ to select field in __repr__.

@cgarciae cgarciae requested a review from marcvanzee January 17, 2023 22:33
@cgarciae cgarciae self-assigned this Jan 20, 2023
@copybara-service copybara-service bot merged commit e83711b into google:main Jan 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Module's __repr__ not showing parents' fields in its attributes
2 participants