Files
Dorod-Sky/skyvern/forge/sdk/schemas/files.py

13 lines
481 B
Python
Raw Normal View History

2025-09-22 14:41:59 +08:00
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")
2025-09-22 14:41:59 +08:00
modified_at: datetime | None = Field(None, description="Modified time of the file")