Send a phone call from AI agent, in an API call. Or, directly call the bot from the configured phone number!
Python
quality: Code typing
Clémence Lesné1778b0abda2b
diff --git a/app/models/training.py b/app/models/training.pyindex 2352a89..89764b7 100644--- a/app/models/training.py+++ b/app/models/training.py@@ -18,12 +18,12 @@ class TrainingModel(BaseModel, frozen=True):def __hash__(self) -> int:return self.id.__hash__()- def __eq__(self, other):+ def __eq__(self, other: object) -> bool:if not isinstance(other, TrainingModel):return NotImplementedreturn self.id == other.id- def __lt__(self, other):+ def __lt__(self, other: object) -> bool:if not isinstance(other, TrainingModel):return NotImplementedreturn self.score < other.score