Forward the lab 4 foundation and migrate the lab 5 pipeline to SQLAlchemy

This commit is contained in:
Artyom
2026-11-06 09:12:25 +03:00
parent ae9f60fe1f
commit 1217da5f5e
134 changed files with 8243 additions and 1409 deletions
@@ -49,6 +49,9 @@ class OpenAttachment:
if found is None:
raise AttachmentNotFound("у вложения нет такого варианта")
key, content_type = found.object_key, found.content_type
if attachment.quarantine is not None:
self._logger.warning("attachment.quarantined", attachment_id=str(attachment.id))
raise AttachmentNotFound("вложение не найдено")
try:
content = await self._storage.open(str(key))
except ObjectMissingError as error: