Spaces:
Runtime error
Runtime error
File size: 606 Bytes
105b369 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
from typing import Optional
from pydantic import BaseModel
from phi.api.schemas.workspace import WorkspaceSchema
class ContainerContext(BaseModel):
workspace_name: str
# Path to the workspace directory inside the container
workspace_root: str
# Path to the workspace parent directory inside the container
workspace_parent: str
scripts_dir: Optional[str] = None
storage_dir: Optional[str] = None
workflows_dir: Optional[str] = None
workspace_dir: Optional[str] = None
workspace_schema: Optional[WorkspaceSchema] = None
requirements_file: Optional[str] = None
|