chore: port lab 4 solution into the lab 5 skeleton
Source: mtusi2026lab4-safronov, solution/bvt2301-safronov, 2546deb. Contracts, public tests and evidence of lab 4 are not carried over. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
from dataclasses import dataclass
|
||||
|
||||
from .message import MessageFullDTO
|
||||
|
||||
|
||||
@dataclass(frozen=True, slots=True)
|
||||
class IdempotencyRecordDTO:
|
||||
"""Сохранённый результат ключа: хэш тела и сообщение первой отправки."""
|
||||
|
||||
request_hash: bytes
|
||||
message: MessageFullDTO
|
||||
Reference in New Issue
Block a user