<?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 Re: The risks of code execution by default on widget change in Get Started Discussions</title>
    <link>https://community.databricks.com/t5/get-started-discussions/the-risks-of-code-execution-by-default-on-widget-change/m-p/59838#M6495</link>
    <description>&lt;P&gt;I definitely have to agree with the original point- if you have a notebook that you import, and you touch any widget value you're running code, most likely accidentally. I'd love to see a workspace or user type option where you can change the default to "do nothing" for all widgets/notebooks.&lt;/P&gt;</description>
    <pubDate>Sat, 10 Feb 2024 15:50:57 GMT</pubDate>
    <dc:creator>Kayla</dc:creator>
    <dc:date>2024-02-10T15:50:57Z</dc:date>
    <item>
      <title>The risks of code execution by default on widget change</title>
      <link>https://community.databricks.com/t5/get-started-discussions/the-risks-of-code-execution-by-default-on-widget-change/m-p/59330#M6492</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Taking from my experience, the default action of widgets triggering code execution upon value change poses risks that outweigh the convenience in certain scenarios. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;While this feature may seem advantageous in some cases, it can lead to unintended consequences and a less controlled development environment. Having a widget's value change automatically trigger code execution during the midst of development or maintenance can have significant ramifications if the code is not adequately structured or tested. Moreover, it becomes even more problematic if the inattentive user fails to perceive that an execution has occurred.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Given these considerations, I believe the default behavior for widget value change should be to do nothing, or at least make it so that the user can customize this setting in their preferences. Additionally, implementing a visual cue in the IDE to indicate that widget changes will trigger code execution would provide developers with a clearer understanding of the potential impacts of their actions.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2024 20:21:34 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/the-risks-of-code-execution-by-default-on-widget-change/m-p/59330#M6492</guid>
      <dc:creator>Israel_H</dc:creator>
      <dc:date>2024-02-05T20:21:34Z</dc:date>
    </item>
    <item>
      <title>Re: The risks of code execution by default on widget change</title>
      <link>https://community.databricks.com/t5/get-started-discussions/the-risks-of-code-execution-by-default-on-widget-change/m-p/59349#M6493</link>
      <description>&lt;P&gt;click gear icon on top right, set&amp;nbsp;&lt;SPAN&gt;Widget panel settings&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="capture 2024-02-06 032347.png" style="width: 999px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/6112i4AC55B40C433B701/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="capture 2024-02-06 032347.png" alt="capture 2024-02-06 032347.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2024 03:28:13 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/the-risks-of-code-execution-by-default-on-widget-change/m-p/59349#M6493</guid>
      <dc:creator>feiyun0112</dc:creator>
      <dc:date>2024-02-06T03:28:13Z</dc:date>
    </item>
    <item>
      <title>Re: The risks of code execution by default on widget change</title>
      <link>https://community.databricks.com/t5/get-started-discussions/the-risks-of-code-execution-by-default-on-widget-change/m-p/59459#M6494</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Yes, I'm aware that it can be changed for each notebook. What I don't think is safe is for it to 'Run' by default instead of 'Do nothing'.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2024 12:08:11 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/the-risks-of-code-execution-by-default-on-widget-change/m-p/59459#M6494</guid>
      <dc:creator>Israel_H</dc:creator>
      <dc:date>2024-02-06T12:08:11Z</dc:date>
    </item>
    <item>
      <title>Re: The risks of code execution by default on widget change</title>
      <link>https://community.databricks.com/t5/get-started-discussions/the-risks-of-code-execution-by-default-on-widget-change/m-p/59838#M6495</link>
      <description>&lt;P&gt;I definitely have to agree with the original point- if you have a notebook that you import, and you touch any widget value you're running code, most likely accidentally. I'd love to see a workspace or user type option where you can change the default to "do nothing" for all widgets/notebooks.&lt;/P&gt;</description>
      <pubDate>Sat, 10 Feb 2024 15:50:57 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/the-risks-of-code-execution-by-default-on-widget-change/m-p/59838#M6495</guid>
      <dc:creator>Kayla</dc:creator>
      <dc:date>2024-02-10T15:50:57Z</dc:date>
    </item>
  </channel>
</rss>

