From 1771d72ab45a0db9ad46b6a4e878fcdc2558430f Mon Sep 17 00:00:00 2001 From: Carl Baillargeon Date: Wed, 14 Aug 2024 09:32:12 -0400 Subject: [PATCH] Remove commented code --- anta/models.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/anta/models.py b/anta/models.py index 131c3cea5..01857057b 100644 --- a/anta/models.py +++ b/anta/models.py @@ -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."""