Files
Dorod-Sky/skyvern/forge/sdk/schemas/files.py
2025-09-22 14:41:59 +08:00

13 lines
481 B
Python

from datetime import datetime
from pydantic import BaseModel, Field
class FileInfo(BaseModel):
"""Information about a downloaded file, including URL and checksum."""
url: str = Field(..., description="URL to access the file")
checksum: str | None = Field(None, description="SHA-256 checksum of the file")
filename: str | None = Field(None, description="Original filename")
modified_at: datetime | None = Field(None, description="Modified time of the file")