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

Implement an _html_repr_ for the option classes #1490

Closed
ihincks opened this issue Mar 7, 2024 · 0 comments · Fixed by #1538
Closed

Implement an _html_repr_ for the option classes #1490

ihincks opened this issue Mar 7, 2024 · 0 comments · Fixed by #1538
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@ihincks
Copy link
Collaborator

ihincks commented Mar 7, 2024

What is the expected feature or enhancement?

The printout of an options class is hard to read. If we implemented _html_repr_ to return an HTML table, it would render nicely in environments that support this method, like jupyter notebooks. When I looked into it briefly, it seemed easier than trying to modify the __str__ or the __repr__ because dataclass creation seems to eagerly overwrite such definitions from a base.

Acceptance criteria

@ihincks ihincks added the enhancement New feature or request label Mar 7, 2024
@kt474 kt474 self-assigned this Mar 19, 2024
@kt474 kt474 added this to the 0.23.0 milestone Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants