<?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: Read task level parameters in python in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/read-task-level-parameters-in-python/m-p/108656#M43105</link>
    <description>&lt;P&gt;Thanks, but the link works for notebook. I have a python package run as python wheel and am wondering how to access the parameters. When I run the job its not able to understand the task level parameters in sys.argv&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 03 Feb 2025 20:41:37 GMT</pubDate>
    <dc:creator>DineshOjha</dc:creator>
    <dc:date>2025-02-03T20:41:37Z</dc:date>
    <item>
      <title>Read task level parameters in python</title>
      <link>https://community.databricks.com/t5/data-engineering/read-task-level-parameters-in-python/m-p/108222#M42997</link>
      <description>&lt;P&gt;I am creating Databricks jobs and tasks using a python package. I have defined a task level parameter and would like to reference it in my script using&amp;nbsp;&lt;SPAN&gt;sys&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;argv. How can I do that ?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jan 2025 22:56:03 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/read-task-level-parameters-in-python/m-p/108222#M42997</guid>
      <dc:creator>DineshOjha</dc:creator>
      <dc:date>2025-01-31T22:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: Read task level parameters in python</title>
      <link>https://community.databricks.com/t5/data-engineering/read-task-level-parameters-in-python/m-p/108236#M43001</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/147238"&gt;@DineshOjha&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;You can reference the task-level parameters using `my_python_var =&amp;nbsp;&lt;SPAN data-darkreader-inline-color=""&gt;dbutils.widgets.&lt;/SPAN&gt;&lt;SPAN data-darkreader-inline-color=""&gt;get&lt;/SPAN&gt;&lt;SPAN data-darkreader-inline-color=""&gt;('my-task-level-param')`.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-darkreader-inline-color=""&gt;More information on task values can be found here: &lt;A href="https://docs.databricks.com/en/jobs/task-values.html#set-task-values" target="_blank"&gt;https://docs.databricks.com/en/jobs/task-values.html#set-task-values&lt;/A&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-darkreader-inline-color=""&gt;Hope this helps.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 01 Feb 2025 04:08:10 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/read-task-level-parameters-in-python/m-p/108236#M43001</guid>
      <dc:creator>brockb</dc:creator>
      <dc:date>2025-02-01T04:08:10Z</dc:date>
    </item>
    <item>
      <title>Re: Read task level parameters in python</title>
      <link>https://community.databricks.com/t5/data-engineering/read-task-level-parameters-in-python/m-p/108656#M43105</link>
      <description>&lt;P&gt;Thanks, but the link works for notebook. I have a python package run as python wheel and am wondering how to access the parameters. When I run the job its not able to understand the task level parameters in sys.argv&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Feb 2025 20:41:37 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/read-task-level-parameters-in-python/m-p/108656#M43105</guid>
      <dc:creator>DineshOjha</dc:creator>
      <dc:date>2025-02-03T20:41:37Z</dc:date>
    </item>
  </channel>
</rss>

