<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic how to develop Notebooks on vscode for git repos? in Get Started Discussions</title>
    <link>https://community.databricks.com/t5/get-started-discussions/how-to-develop-notebooks-on-vscode-for-git-repos/m-p/70267#M7275</link>
    <description>&lt;P&gt;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&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;# Databricks notebook source
# COMMAND ----------
import pytest
import os
import sys&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;My workflow looks like this at the moment:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;develop the notebook on Databrick UI&lt;/LI&gt;&lt;LI&gt;push the code to Gitlab&lt;/LI&gt;&lt;LI&gt;(optional) pull the code from gitlab on my local computer, develop, push back, pull from databricks repo&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;The problem with local development is Databricks Connect can only detect Notebooks as such when they have&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;.ipynb&lt;SPAN&gt;&amp;nbsp;extension. I wat to be able to develop and run my code on my local computer the same way I do it Databricks UI.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 22 May 2024 12:39:34 GMT</pubDate>
    <dc:creator>MohsenJ</dc:creator>
    <dc:date>2024-05-22T12:39:34Z</dc:date>
    <item>
      <title>how to develop Notebooks on vscode for git repos?</title>
      <link>https://community.databricks.com/t5/get-started-discussions/how-to-develop-notebooks-on-vscode-for-git-repos/m-p/70267#M7275</link>
      <description>&lt;P&gt;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&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;# Databricks notebook source
# COMMAND ----------
import pytest
import os
import sys&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;My workflow looks like this at the moment:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;develop the notebook on Databrick UI&lt;/LI&gt;&lt;LI&gt;push the code to Gitlab&lt;/LI&gt;&lt;LI&gt;(optional) pull the code from gitlab on my local computer, develop, push back, pull from databricks repo&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;The problem with local development is Databricks Connect can only detect Notebooks as such when they have&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;.ipynb&lt;SPAN&gt;&amp;nbsp;extension. I wat to be able to develop and run my code on my local computer the same way I do it Databricks UI.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 May 2024 12:39:34 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/how-to-develop-notebooks-on-vscode-for-git-repos/m-p/70267#M7275</guid>
      <dc:creator>MohsenJ</dc:creator>
      <dc:date>2024-05-22T12:39:34Z</dc:date>
    </item>
  </channel>
</rss>

