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

Change Channel.__repr__() to the default from dataclass #770

Merged
merged 1 commit into from
Dec 2, 2024

Conversation

RafaelMALima
Copy link
Contributor

The old, prettier repr assigned manually is now accessed trough the str() method of the Channel class, as proposed in issue #767

@RafaelMALima RafaelMALima changed the title Channel.__repr__() is the default from dataclass Change Channel.__repr__() to the default from dataclass. Old, prettier version of is now accessed trough Channel.__str__() Dec 1, 2024
@HGSilveri HGSilveri changed the title Change Channel.__repr__() to the default from dataclass. Old, prettier version of is now accessed trough Channel.__str__() Change Channel.__repr__() to the default from dataclass Dec 2, 2024
Copy link
Collaborator

@HGSilveri HGSilveri left a comment

Choose a reason for hiding this comment

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

LGTM, obrigado @RafaelMALima !

@HGSilveri HGSilveri linked an issue Dec 2, 2024 that may be closed by this pull request
@HGSilveri HGSilveri merged commit e27d45a into pasqal-io:develop Dec 2, 2024
9 checks passed
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.

Modify the Channel.__repr__() to use the one provided by dataclass
2 participants