job service tests

This commit is contained in:
John Lancaster
2026-06-27 19:29:51 -05:00
parent d3ffb01e93
commit e6f12fa993
2 changed files with 25 additions and 16 deletions
+1 -2
View File
@@ -7,7 +7,6 @@ Three models capture the MVP lifecycle:
from datetime import UTC
from datetime import datetime
from enum import StrEnum
from pathlib import Path
from typing import Optional
from uuid import UUID
from uuid import uuid4
@@ -29,7 +28,7 @@ class Document(SQLModel, table=True):
id: UUID = Field(default_factory=uuid4, primary_key=True)
filename: str
file_path: Path
file_path: str
uploaded_at: datetime = Field(
default_factory=lambda: datetime.now(UTC),
)