dlt._workspace.deployment.configuration
Framework-specific configuration specs for interactive job launchers.
Each spec resolves in sections (JOBS, section, name, section) so users can override per-job via env vars like JOBS__MY_MODULE__MY_JOB__MCP__HOST.
MarimoConfiguration Objects
@configspec
class MarimoConfiguration(BaseConfiguration)
Configuration for the marimo launcher.
include_code
Show notebook source code in the app.
token
Auth token for session access. None disables auth.
session_ttl
Seconds before closing an idle session.
StreamlitConfiguration Objects
@configspec
class StreamlitConfiguration(BaseConfiguration)
Configuration for the streamlit launcher.
enable_cors
Enable CORS. Disabled by default behind a proxy.
enable_xsrf_protection
Enable XSRF protection. Disabled by default behind a proxy.
gather_usage_stats
Send usage statistics to Streamlit.
McpConfiguration Objects
@configspec
class McpConfiguration(BaseConfiguration)
Configuration for the FastMCP launcher.
transport
Transport protocol: "stdio", "http", "sse", or "streamable-http".
path
HTTP endpoint route path.
log_level
Log level: DEBUG, INFO, WARNING, ERROR, CRITICAL.
stateless_http
Stateless mode for horizontal scaling (no session affinity).