Skip to content

Commit 747c9a9

Browse files
committed
undo
1 parent 28dd8bc commit 747c9a9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pdf_pydantic/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ numpy = "^2.2.0"
1919
pillow = "^11.0.0"
2020
pydantic = "^2.10.3"
2121
python-doctr = {extras = ["torch"], version = "^0.10.0"}
22-
restack-ai = "0.0.49"
22+
restack-ai = "0.0.48"
2323

2424
[build-system]
2525
requires = ["poetry-core"]

pdf_pydantic/src/workflows/files.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
from restack_ai.workflow import workflow, log, workflow_info
22
from typing import List
3-
from pydantic import BaseModel, Field
3+
from pydantic import BaseModel
44
import asyncio
55
from .pdf import PdfWorkflow, PdfWorkflowInput
66

77

88
class FilesWorkflowInput(BaseModel):
9-
files: List[PdfWorkflowInput] = Field(None, file=True, description="Upload file")
9+
files: List[PdfWorkflowInput]
1010

1111
@workflow.defn()
1212
class FilesWorkflow:

0 commit comments

Comments
 (0)