mirror of https://github.com/langgenius/dify.git
14 lines
343 B
Python
14 lines
343 B
Python
from __future__ import annotations
|
|
|
|
from pydantic import AnyHttpUrl, BaseModel
|
|
|
|
|
|
class SandboxContext(BaseModel):
|
|
"""Typed context for sandbox integration. All fields optional by design."""
|
|
|
|
sandbox_url: AnyHttpUrl | None = None
|
|
sandbox_token: str | None = None # optional, if later needed for auth
|
|
|
|
|
|
__all__ = ["SandboxContext"]
|