Best practice for dbutils with CICD

AdamIH123
New Contributor II

I have a job with the following base parameters. I use dbutils.widgets.get to access the parameter.

What is the best practice for developing with dbutils, especially when working locally in vs code or during CI? For example, IntelliSense and linting tools aren't aware of dbutils.

 

tasks:
- task_key: test_table
notebook_task:
notebook_path: ../src/test_table_dab.ipynb
base_parameters:
unity_catalog: ${var.unity_catalog}