cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Community Platform Discussions
Connect with fellow community members to discuss general topics related to the Databricks platform, industry trends, and best practices. Share experiences, ask questions, and foster collaboration within the community.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

how to develop Notebooks on vscode for git repos?

MohsenJ
Contributor

I am able to use vscode extension + databricks connect to develop Notebooks on my local computer and run them on my databricks cluster. However I can not figure out how to develop the Notebooks that have the file `.py` extension but identified by Databricks as notebooks by their header 

 

 

# Databricks notebook source
# COMMAND ----------
import pytest
import os
import sys

 

 

 My workflow looks like this at the moment:

  1. develop the notebook on Databrick UI
  2. push the code to Gitlab
  3. (optional) pull the code from gitlab on my local computer, develop, push back, pull from databricks repo

The problem with local development is Databricks Connect can only detect Notebooks as such when they have  .ipynb extension. I wat to be able to develop and run my code on my local computer the same way I do it Databricks UI. 

0 REPLIES 0

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group