home · contact · privacy
More refactoring.
[plomtask] / plomtask / conditions.py
index 629510af868ae401c609b2c9307fa21f9c732c23..cba606d1a71dd19a0e410677f0ee8fc528d5bdbf 100644 (file)
@@ -19,11 +19,6 @@ class Condition(BaseModel[int]):
         self.description = VersionedAttribute(self, 'condition_descriptions',
                                               '')
 
-    def __lt__(self, other: Condition) -> bool:
-        assert isinstance(self.id_, int)
-        assert isinstance(other.id_, int)
-        return self.id_ < other.id_
-
     @classmethod
     def from_table_row(cls, db_conn: DatabaseConnection,
                        row: Row | list[Any]) -> Condition: