<?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 Python as data source, cannot save as .pbit without script running again in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Python-as-data-source-cannot-save-as-pbit-without-script-running/m-p/3259805#M53686</link>
    <description>&lt;P&gt;I'm using Desktop and have a working Python script as a data source.&amp;nbsp; It contains API creds and I want to scrub them before sharing a .pbit.&amp;nbsp; When removing the creds in Advanced Editor, I can Close with no Apply.&amp;nbsp; However, when I try to create a .pbit, there is a message stating the changes must be applied first.&amp;nbsp; If I Apply the changes, doing so runs the Python script without creds, fails and thus, no .pbit can be created.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to edit the .pbit directly or with an external editor so that the .pbit can be generated and scrubbed?&amp;nbsp; I've tried Tabular Editor and it doesnt allow me to do this (edit Python in the Data Source).&amp;nbsp; Or, is there a way to prevent Desktop from running scripts on Close &amp;amp; Apply?&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 30 May 2023 14:03:15 GMT</pubDate>
    <dc:creator>TP-101</dc:creator>
    <dc:date>2023-05-30T14:03:15Z</dc:date>
    <item>
      <title>Python as data source, cannot save as .pbit without script running again</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Python-as-data-source-cannot-save-as-pbit-without-script-running/m-p/3259805#M53686</link>
      <description>&lt;P&gt;I'm using Desktop and have a working Python script as a data source.&amp;nbsp; It contains API creds and I want to scrub them before sharing a .pbit.&amp;nbsp; When removing the creds in Advanced Editor, I can Close with no Apply.&amp;nbsp; However, when I try to create a .pbit, there is a message stating the changes must be applied first.&amp;nbsp; If I Apply the changes, doing so runs the Python script without creds, fails and thus, no .pbit can be created.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to edit the .pbit directly or with an external editor so that the .pbit can be generated and scrubbed?&amp;nbsp; I've tried Tabular Editor and it doesnt allow me to do this (edit Python in the Data Source).&amp;nbsp; Or, is there a way to prevent Desktop from running scripts on Close &amp;amp; Apply?&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 May 2023 14:03:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Python-as-data-source-cannot-save-as-pbit-without-script-running/m-p/3259805#M53686</guid>
      <dc:creator>TP-101</dc:creator>
      <dc:date>2023-05-30T14:03:15Z</dc:date>
    </item>
  </channel>
</rss>

