Skip to content

Commit

Permalink
Remove commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
carl-baillargeon committed Aug 14, 2024
1 parent 0ba16e5 commit 1771d72
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions anta/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,16 +168,6 @@ class AntaCommand(BaseModel):
params: AntaParamsBaseModel = AntaParamsBaseModel()
use_cache: bool = True

# def __hash__(self) -> int:
# """Implement hashing based on the `uid` property."""
# return hash(self.uid)

# def __eq__(self, other: object) -> bool:
# """Implement equality based on the `uid` property."""
# if not isinstance(other, AntaCommand):
# return False
# return self.uid == other.uid

@cached_property
def uid(self) -> str:
"""Generate a unique identifier for this command."""
Expand Down

0 comments on commit 1771d72

Please sign in to comment.