Uploaded November 2025 | Updated December 2026, 3 hours ago
DBLS: A Runtime-Aware Kernel-Embedded Python Language Server - Timothy Tamm,
This talk introduces DBLS, a Python language server designed to run embedded within the Jupyter kernel, bringing runtime-aware language server features to Databricks notebooks. DBLS leverages access to the global and user namespaces to provide features such as:
Memory-aware Diagnostics: Distinguishes between variables present in memory but not defined in the document, reducing false-positive errors.
Smart Handling of Starred Imports: Examines runtime imports to improve diagnostics and code navigation.
First-class PySpark Diagnostics: Detects and reports errors such as invalid DataFrame operations based on the current notebook state.
Hybrid static / dynamic autocomplete: DBLS enriches Jupyter’s complete_request messages with document context synced from the entire notebook, giving the best of both static analysis-based and runtime-aware autocomplete.
After motivating DBLS and describing its high-level architecture, I will discuss key challenges, including ensuring kernel stability and managing dependencies in mutable Python environments. I'll include a demo and practical use cases, followed by lessons learned and future directions.
DBLS: A Runtime-Aware Kernel-Embedded Python Language Server - Timothy Tamm,
This talk introduces DBLS, a Python language server designed to run embedded within the Jupyter kernel, bringing runtime-aware language server features to Databricks notebooks. DBLS leverages access to the global and user namespaces to provide features such as:
Memory-aware Diagnostics: Distinguishes between variables present in memory but not defined in the document, reducing false-positive errors.
Smart Handling of Starred Imports: Examines runtime imports to improve diagnostics and code navigation.
First-class PySpark Diagnostics: Detects and reports errors such as invalid DataFrame operations based on the current notebook state.
Hybrid static / dynamic autocomplete: DBLS enriches Jupyter’s complete_request messages with document context synced from the entire notebook, giving the best of both static analysis-based and runtime-aware autocomplete.
After motivating DBLS and describing its high-level architecture, I will discuss key challenges, including ensuring kernel stability and managing dependencies in mutable Python environments. I'll include a demo and practical use cases, followed by lessons learned and future directions.










