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

Repr #18

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Repr #18

wants to merge 2 commits into from

Conversation

Spayralbe
Copy link
Contributor

Add __repr__ method to all CDM 5.4 table classes for easier debugging/exploration.

@Spayralbe Spayralbe requested a review from guuswilmink February 6, 2025 10:32
@Spayralbe Spayralbe self-assigned this Feb 6, 2025
@Spayralbe
Copy link
Contributor Author

I've checked getting a __repr__ via the dataclass approach, but that outputs all relationships objects as well, which in this case is not what you want. That behavior can be overruled by setting repr=False in all relationship functions, but that seems like more maintenance work than this.

@Spayralbe Spayralbe requested a review from Anne0507 February 10, 2025 15:43
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.

1 participant