mirror of
https://github.com/hanzoai/insights.git
synced 2026-10-30 16:15:31 +00:00
Mechanically re-derived: bin/debrand runs over a fresh import of posthog/posthog@fa1a9a60d4 (2026-08-06). The pipeline (.hanzo/workflows), the Dockerfiles and bin/docker* entrypoints, compose files, LLM.md and the squashed initial migration are restored from the shipped tree, same as the previous import. The prune's import-closure guard kept 21 products the new core now imports; dropping them is a refactor now, recorded rather than forced.
47 lines
1.3 KiB
Python
47 lines
1.3 KiB
Python
"""
|
|
Facade re-exports for the sandbox execution surface.
|
|
|
|
These are behavioral primitives (abstract base class + config/value types + factory
|
|
functions), not data — other products construct and drive sandboxes through them. They
|
|
cross the boundary as objects, per the wiring pattern. Kept out of ``facade/api.py`` so the
|
|
heavy docker/modal dependencies stay off the light data-surface import path.
|
|
"""
|
|
|
|
from products.tasks.backend.exceptions import (
|
|
SandboxCleanupError,
|
|
SandboxExecutionError,
|
|
SandboxNotFoundError,
|
|
SandboxNotRunningError,
|
|
SandboxProvisionError,
|
|
SandboxTimeoutError,
|
|
)
|
|
from products.tasks.backend.logic.services.sandbox import (
|
|
SandboxBase,
|
|
SandboxClass,
|
|
SandboxConfig,
|
|
SandboxResources,
|
|
SandboxStatus,
|
|
SandboxTemplate,
|
|
get_sandbox_class,
|
|
get_sandbox_class_for_backend,
|
|
is_public_sandbox_repo,
|
|
)
|
|
|
|
__all__ = [
|
|
"SandboxBase",
|
|
"SandboxCleanupError",
|
|
"SandboxClass",
|
|
"SandboxConfig",
|
|
"SandboxExecutionError",
|
|
"SandboxNotFoundError",
|
|
"SandboxNotRunningError",
|
|
"SandboxProvisionError",
|
|
"SandboxResources",
|
|
"SandboxStatus",
|
|
"SandboxTemplate",
|
|
"SandboxTimeoutError",
|
|
"get_sandbox_class",
|
|
"get_sandbox_class_for_backend",
|
|
"is_public_sandbox_repo",
|
|
]
|