You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12345678910111213141516 |
-
- from pydantic import BaseModel
-
- from million.model.message import Message
- import million.analyze.message_evaluation as msg_ev
-
-
- class Sequence(BaseModel):
- start_message: Message
- end_message: Message | None
-
- def start(self) -> int:
- return msg_ev.compute(self.start_message)
-
- def end(self) -> int:
- return msg_ev.compute(self.end_message)
|