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

refactor: add AntaTest.name property #658

Closed
mtache opened this issue Apr 26, 2024 · 1 comment
Closed

refactor: add AntaTest.name property #658

mtache opened this issue Apr 26, 2024 · 1 comment
Milestone

Comments

@mtache
Copy link
Collaborator

mtache commented Apr 26, 2024

We should add a name property to the AntaTest abstract class instead of defining a class variable:

    @property
    def name(self) -> str:
        """Return the name of this AntaTest class."""
        return self.__class__.__name__
@gmuloc gmuloc added this to the v1.3.0 milestone Jan 15, 2025
@gmuloc
Copy link
Collaborator

gmuloc commented Jan 15, 2025

This has been fixed in #841. class variable was kept but it is now optional

@gmuloc gmuloc closed this as completed Jan 15, 2025
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

No branches or pull requests

2 participants