mirror of
https://github.com/langgenius/dify.git
synced 2026-02-13 07:01:23 -05:00
20 lines
339 B
Python
20 lines
339 B
Python
from __future__ import annotations
|
|
|
|
from dataclasses import dataclass
|
|
|
|
|
|
@dataclass(frozen=True)
|
|
class SandboxFileNode:
|
|
path: str
|
|
is_dir: bool
|
|
size: int | None
|
|
mtime: int | None
|
|
extension: str | None
|
|
|
|
|
|
@dataclass(frozen=True)
|
|
class SandboxFileDownloadTicket:
|
|
download_url: str
|
|
expires_in: int
|
|
export_id: str
|