<?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 In the VSCode Databricks Extension how can one specify notebook parameters to a pass to a workflow job? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/in-the-vscode-databricks-extension-how-can-one-specify-notebook/m-p/4837#M1433</link>
    <description>&lt;P&gt;I have successfully used the VSCode extension for Databricks to run a notebook on a cluster from my IDE.  However in order to test effectively without changing the source, I need a way to pass parameters to the workflow job.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried various ways of indicating notebook_params in the launch.json (see an example below) but none have successfully been received in the run as shown in the Job Run's Task run details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to pass parameters (to be read via dbutil.widgets) in the VSCode Databricks extension?&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp; // Use IntelliSense to learn about possible attributes.&lt;/P&gt;&lt;P&gt;&amp;nbsp; // Hover to view descriptions of existing attributes.&lt;/P&gt;&lt;P&gt;&amp;nbsp; // For more information, visit: &lt;A href="https://go.microsoft.com/fwlink/?linkid=830387" target="test_blank"&gt;https://go.microsoft.com/fwlink/?linkid=830387&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; "version": "0.2.0",&lt;/P&gt;&lt;P&gt;&amp;nbsp; "configurations": [&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; {&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; "type": "databricks-workflow",&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; "request": "launch",&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; "name": "Run on Databricks as a Workflow",&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; "program": "${file}",&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; "parameters": {"name": "John Doe"},&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; "args": &amp;nbsp;[]&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; },&lt;/P&gt;&lt;P&gt;&amp;nbsp; ]&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;</description>
    <pubDate>Wed, 03 May 2023 23:10:23 GMT</pubDate>
    <dc:creator>matkap</dc:creator>
    <dc:date>2023-05-03T23:10:23Z</dc:date>
    <item>
      <title>In the VSCode Databricks Extension how can one specify notebook parameters to a pass to a workflow job?</title>
      <link>https://community.databricks.com/t5/data-engineering/in-the-vscode-databricks-extension-how-can-one-specify-notebook/m-p/4837#M1433</link>
      <description>&lt;P&gt;I have successfully used the VSCode extension for Databricks to run a notebook on a cluster from my IDE.  However in order to test effectively without changing the source, I need a way to pass parameters to the workflow job.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried various ways of indicating notebook_params in the launch.json (see an example below) but none have successfully been received in the run as shown in the Job Run's Task run details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to pass parameters (to be read via dbutil.widgets) in the VSCode Databricks extension?&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp; // Use IntelliSense to learn about possible attributes.&lt;/P&gt;&lt;P&gt;&amp;nbsp; // Hover to view descriptions of existing attributes.&lt;/P&gt;&lt;P&gt;&amp;nbsp; // For more information, visit: &lt;A href="https://go.microsoft.com/fwlink/?linkid=830387" target="test_blank"&gt;https://go.microsoft.com/fwlink/?linkid=830387&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; "version": "0.2.0",&lt;/P&gt;&lt;P&gt;&amp;nbsp; "configurations": [&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; {&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; "type": "databricks-workflow",&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; "request": "launch",&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; "name": "Run on Databricks as a Workflow",&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; "program": "${file}",&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; "parameters": {"name": "John Doe"},&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; "args": &amp;nbsp;[]&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; },&lt;/P&gt;&lt;P&gt;&amp;nbsp; ]&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;</description>
      <pubDate>Wed, 03 May 2023 23:10:23 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/in-the-vscode-databricks-extension-how-can-one-specify-notebook/m-p/4837#M1433</guid>
      <dc:creator>matkap</dc:creator>
      <dc:date>2023-05-03T23:10:23Z</dc:date>
    </item>
    <item>
      <title>Re: In the VSCode Databricks Extension how can one specify notebook parameters to a pass to a workflow job?</title>
      <link>https://community.databricks.com/t5/data-engineering/in-the-vscode-databricks-extension-how-can-one-specify-notebook/m-p/4838#M1434</link>
      <description>&lt;P&gt;Is there a solution for this?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jun 2023 14:34:01 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/in-the-vscode-databricks-extension-how-can-one-specify-notebook/m-p/4838#M1434</guid>
      <dc:creator>AsphaltDataRide</dc:creator>
      <dc:date>2023-06-16T14:34:01Z</dc:date>
    </item>
    <item>
      <title>Re: In the VSCode Databricks Extension how can one specify notebook parameters to a pass to a workflow job?</title>
      <link>https://community.databricks.com/t5/data-engineering/in-the-vscode-databricks-extension-how-can-one-specify-notebook/m-p/4839#M1435</link>
      <description>&lt;P&gt;@matthew kaplan​&amp;nbsp;I am not using widgets but what works is running it by pressing F5 in the python file you want to run. &lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2023 10:58:34 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/in-the-vscode-databricks-extension-how-can-one-specify-notebook/m-p/4839#M1435</guid>
      <dc:creator>AsphaltDataRide</dc:creator>
      <dc:date>2023-06-19T10:58:34Z</dc:date>
    </item>
  </channel>
</rss>

