mirror of
https://github.com/langgenius/dify.git
synced 2026-02-02 00:51:49 +08:00
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Maries <xh001x@hotmail.com>
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"]
|