feat: add asset manifest knowledge ingest
Some checks failed
CI / Backend (lint + tests + compose) (push) Has been cancelled
CI / Frontend (lint + type-check + build) (push) Has been cancelled

This commit is contained in:
Vadim Malanov
2026-06-14 19:22:26 +03:00
parent aa530524a3
commit 9926a4b3fd
10 changed files with 1055 additions and 36 deletions

View File

@@ -83,9 +83,9 @@ class MinioStorage:
metadata=metadata or {},
)
def get_to_path(self, bucket: str, key: str, dest: Path) -> Path:
def get_to_path(self, bucket: str, key: str, dest: Path, version_id: str | None = None) -> Path:
dest.parent.mkdir(parents=True, exist_ok=True)
self.client.fget_object(bucket, key, str(dest))
self.client.fget_object(bucket, key, str(dest), version_id=version_id)
return dest
def exists(self, bucket: str, key: str) -> bool: