Add support for local files and optimized caching

Signed-off-by: Felipe Cardoso <felipe.cardoso@hotmail.it>
This commit is contained in:
2025-01-23 09:27:40 +01:00
parent df5b42b9c9
commit 36ce6ac5ef
4 changed files with 88 additions and 47 deletions

View File

@@ -1,5 +1,4 @@
from datetime import datetime
from typing import Optional
from pydantic import BaseModel
@@ -8,4 +7,6 @@ class Sample(BaseModel):
filename: str
url: str
created_at: datetime
step: Optional[int] = None
source: str # 'local' or 'remote'
source_path: str # full path to the file
size: int