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>
12 lines
323 B
Python
12 lines
323 B
Python
from dataclasses import dataclass
|
|
|
|
from .message import MessageFullDTO
|
|
|
|
|
|
@dataclass(frozen=True, slots=True)
|
|
class IdempotencyRecordDTO:
|
|
"""Сохранённый результат ключа: хэш тела и сообщение первой отправки."""
|
|
|
|
request_hash: bytes
|
|
message: MessageFullDTO
|