<?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 Is there a way I can disable this popup? in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/is-there-a-way-i-can-disable-this-popup/m-p/1620828#M74318</link>
    <description>&lt;P&gt;After updating to the new patch I started getting this popup when I would run toolbox that I'm working on and it is starting to get really annoying because I am banging my head against a new bug in the patch that causes Arcgis to crash if I make an edit to my toolbox, which makes doing development kind of annoying. I just want to know if there is a way to turn off this popup.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GISDepartmentMFM_1-1749049891812.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/133784i2CBA47DED224B992/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GISDepartmentMFM_1-1749049891812.png" alt="GISDepartmentMFM_1-1749049891812.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jun 2025 15:12:55 GMT</pubDate>
    <dc:creator>GISDepartmentMFM</dc:creator>
    <dc:date>2025-06-04T15:12:55Z</dc:date>
    <item>
      <title>Is there a way I can disable this popup?</title>
      <link>https://community.esri.com/t5/python-questions/is-there-a-way-i-can-disable-this-popup/m-p/1620828#M74318</link>
      <description>&lt;P&gt;After updating to the new patch I started getting this popup when I would run toolbox that I'm working on and it is starting to get really annoying because I am banging my head against a new bug in the patch that causes Arcgis to crash if I make an edit to my toolbox, which makes doing development kind of annoying. I just want to know if there is a way to turn off this popup.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GISDepartmentMFM_1-1749049891812.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/133784i2CBA47DED224B992/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GISDepartmentMFM_1-1749049891812.png" alt="GISDepartmentMFM_1-1749049891812.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 15:12:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/is-there-a-way-i-can-disable-this-popup/m-p/1620828#M74318</guid>
      <dc:creator>GISDepartmentMFM</dc:creator>
      <dc:date>2025-06-04T15:12:55Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way I can disable this popup?</title>
      <link>https://community.esri.com/t5/python-questions/is-there-a-way-i-can-disable-this-popup/m-p/1620965#M74319</link>
      <description>&lt;P&gt;&amp;nbsp;Something cursed I had to implement with the changes to how toolboxes are initialized in the new patch. This doesn't solve my main issue just a sub problem where my toolbox would get fully run if it was opened for the fist time or refreshed.:&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;def &lt;/SPAN&gt;&lt;SPAN&gt;main&lt;/SPAN&gt;():&lt;BR /&gt;    &lt;SPAN&gt;#stops arcgis from fully running toolbox if script is updated or refreshed&lt;BR /&gt;&lt;/SPAN&gt;    &lt;SPAN&gt;try&lt;/SPAN&gt;:&lt;BR /&gt;        &lt;SPAN&gt;aprx &lt;/SPAN&gt;= arcpy.mp.ArcGISProject(&lt;SPAN&gt;"CURRENT"&lt;/SPAN&gt;)&lt;BR /&gt;    &lt;SPAN&gt;except &lt;/SPAN&gt;&lt;SPAN&gt;OSError&lt;/SPAN&gt;:&lt;BR /&gt;        &lt;SPAN&gt;tbx &lt;/SPAN&gt;= Toolbox()&lt;BR /&gt;        &lt;SPAN&gt;tool &lt;/SPAN&gt;= Tool()&lt;BR /&gt;        &lt;SPAN&gt;tool&lt;/SPAN&gt;.execute(&lt;SPAN&gt;None&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;None&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;False&lt;/SPAN&gt;)&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if &lt;/SPAN&gt;__name__ ==&lt;SPAN&gt;'__main__'&lt;/SPAN&gt;:&lt;BR /&gt;    &lt;SPAN&gt;#breakpoint()&lt;BR /&gt;&lt;/SPAN&gt;    main()&lt;BR /&gt;    &lt;SPAN&gt;#breakpoint()&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 04 Jun 2025 19:22:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/is-there-a-way-i-can-disable-this-popup/m-p/1620965#M74319</guid>
      <dc:creator>GISDepartmentMFM</dc:creator>
      <dc:date>2025-06-04T19:22:48Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way I can disable this popup?</title>
      <link>https://community.esri.com/t5/python-questions/is-there-a-way-i-can-disable-this-popup/m-p/1621513#M74321</link>
      <description>&lt;P&gt;Are you using Python Toolboxes or a standard Model tool with script files?&lt;BR /&gt;&lt;BR /&gt;In my testing the "3rd party code" is handled by the ArcPro interpreter and that code is run before your code is even initialized, so I don't think there's an easy way to avoid it without digging into custom addons that overwrite that behavior.&lt;/P&gt;&lt;P&gt;I do most of my development in .pyt toolboxes, and haven't run into anything causing issues with execution yet. All tools and toolboxes are initialized on refresh though&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jun 2025 14:01:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/is-there-a-way-i-can-disable-this-popup/m-p/1621513#M74321</guid>
      <dc:creator>HaydenWelch</dc:creator>
      <dc:date>2025-06-06T14:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way I can disable this popup?</title>
      <link>https://community.esri.com/t5/python-questions/is-there-a-way-i-can-disable-this-popup/m-p/1621521#M74322</link>
      <description>&lt;P&gt;Are you on the 3.5.1? I am also using&amp;nbsp; .pyt toolbox's. I don't know what it is flagging as 3rd party code that it wasn't before. For reference I am having this popup on a toolbox where these are my only libraries I use.&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;import &lt;/SPAN&gt;arcpy&lt;BR /&gt;&lt;SPAN&gt;import &lt;/SPAN&gt;arcpy.mp &lt;SPAN&gt;as &lt;/SPAN&gt;mp&lt;BR /&gt;&lt;SPAN&gt;import &lt;/SPAN&gt;os&lt;BR /&gt;&lt;SPAN&gt;import &lt;/SPAN&gt;sys&lt;BR /&gt;&lt;SPAN&gt;import &lt;/SPAN&gt;time&lt;BR /&gt;&lt;SPAN&gt;import &lt;/SPAN&gt;traceback&lt;/PRE&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 06 Jun 2025 14:58:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/is-there-a-way-i-can-disable-this-popup/m-p/1621521#M74322</guid>
      <dc:creator>GISDepartmentMFM</dc:creator>
      <dc:date>2025-06-06T14:58:44Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way I can disable this popup?</title>
      <link>https://community.esri.com/t5/python-questions/is-there-a-way-i-can-disable-this-popup/m-p/1621532#M74323</link>
      <description>&lt;P&gt;It's just any pyt file. If it loads something that wasn't there in initialization of the interpreter it throws up the warning.&lt;BR /&gt;&lt;BR /&gt;ArcPro has some internal functions that start the Python interpreter and whatever system it is that initializes toolboxes is now showing that warning (likely because it is technically a security risk loading in arbitrary code).&lt;BR /&gt;&lt;BR /&gt;I don't have the re-loading issue because I use a custom framework (pytframe2) for managing tools that keeps the pyt file constant (it's essentially a config that dynamically loads in the Tool modules from other files). Seems that it asks every time the contents of the pyt file change.&lt;/P&gt;&lt;P&gt;Edit: Okay, so a reload does still trigger the message. If I accept the message, then close and reopen the project though, I don't get asked again. Even if the code changed (in one of the tool modules, I still get it if the pyt file changes).&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jun 2025 15:21:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/is-there-a-way-i-can-disable-this-popup/m-p/1621532#M74323</guid>
      <dc:creator>HaydenWelch</dc:creator>
      <dc:date>2025-06-06T15:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way I can disable this popup?</title>
      <link>https://community.esri.com/t5/python-questions/is-there-a-way-i-can-disable-this-popup/m-p/1621536#M74324</link>
      <description>&lt;P&gt;Since this is a new feature, I think submitting an Idea post about adding a whitelist (say a specific folder) and a toggle in the settings would be helpful. It's already difficult to develop tooling quickly as is, adding this annoying popup without a way to disable it is just more annoyance.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jun 2025 15:25:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/is-there-a-way-i-can-disable-this-popup/m-p/1621536#M74324</guid>
      <dc:creator>HaydenWelch</dc:creator>
      <dc:date>2025-06-06T15:25:17Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way I can disable this popup?</title>
      <link>https://community.esri.com/t5/python-questions/is-there-a-way-i-can-disable-this-popup/m-p/1621543#M74325</link>
      <description>&lt;P&gt;dam this sucks, yeah ill go submit an idea post about a "don't ask again" toggle or an ability to white list a folder of approved toolboxes&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jun 2025 15:53:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/is-there-a-way-i-can-disable-this-popup/m-p/1621543#M74325</guid>
      <dc:creator>GISDepartmentMFM</dc:creator>
      <dc:date>2025-06-06T15:53:49Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way I can disable this popup?</title>
      <link>https://community.esri.com/t5/python-questions/is-there-a-way-i-can-disable-this-popup/m-p/1621813#M74335</link>
      <description>&lt;P&gt;Please share the link here when you do.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jun 2025 13:37:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/is-there-a-way-i-can-disable-this-popup/m-p/1621813#M74335</guid>
      <dc:creator>AlfredBaldenweck</dc:creator>
      <dc:date>2025-06-09T13:37:14Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way I can disable this popup?</title>
      <link>https://community.esri.com/t5/python-questions/is-there-a-way-i-can-disable-this-popup/m-p/1621825#M74336</link>
      <description>&lt;P&gt;Found it:&amp;nbsp;&lt;A href="https://community.esri.com/t5/python-ideas/add-a-trusted-toolbox-list-or-a-don-t-ask-again/idi-p/1621553" target="_blank"&gt;Add a trusted toolbox list or a don't ask again bu... - Esri Community&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jun 2025 14:07:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/is-there-a-way-i-can-disable-this-popup/m-p/1621825#M74336</guid>
      <dc:creator>AlfredBaldenweck</dc:creator>
      <dc:date>2025-06-09T14:07:45Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way I can disable this popup?</title>
      <link>https://community.esri.com/t5/python-questions/is-there-a-way-i-can-disable-this-popup/m-p/1622164#M74338</link>
      <description>&lt;P&gt;From&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/get-started/whats-new-in-arcgis-pro.htm#ESRI_SECTION1_463DCA76A448429C8EE22ED94F1E70B0" target="_blank"&gt;What's new in ArcGIS Pro 3.5—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;A warning dialog box appears when you open a custom Python toolbox. System administrators who manage application settings can use the BlockNonSystemPythonToolbox setting to remove this warning.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Warning dialog box when opening a custom Python toolbox&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Click Yes to run the toolbox code and load the list of tools and toolbox properties.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;So it appears the desire was to put control into administrative hands&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jun 2025 05:47:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/is-there-a-way-i-can-disable-this-popup/m-p/1622164#M74338</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2025-06-10T05:47:26Z</dc:date>
    </item>
  </channel>
</rss>

