databricks-cli/libs/template/templates
Fabian Jakobs e61f0e1eb9
Fix DBConnect support in VS Code (#1253)
## Changes

With the current template, we can't execute the Python file and the jobs
notebook using DBConnect from VSCode because we import `from pyspark.sql
import SparkSession`, which doesn't support Databricks unified auth.
This PR fixes this by passing spark into the library code and by
explicitly instantiating a spark session where the spark global is not
available.

Other changes:

* add auto-reload to notebooks
* add DLT typings for code completion
2024-03-05 14:31:27 +00:00
..
dbt-sql Add an experimental default-sql template (#1051) 2024-02-19 12:01:11 +00:00
default-python Fix DBConnect support in VS Code (#1253) 2024-03-05 14:31:27 +00:00
default-sql Add an experimental default-sql template (#1051) 2024-02-19 12:01:11 +00:00