<?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 I need to access the json file in the github repo from the databricks notebookI have a repo integrated with Databricks workspace.  When I run %sh pwd ... in Machine Learning</title>
    <link>https://community.databricks.com/t5/machine-learning/i-need-to-access-the-json-file-in-the-github-repo-from-the/m-p/11246#M562</link>
    <description>&lt;P&gt;I need to access the json file in the github repo from the databricks notebook&lt;/P&gt;&lt;P&gt;I have a repo integrated with Databricks workspace. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I run %sh pwd it returns this path /Workspace/Repos/chris@myemail/Repo/folder/test.json. &lt;/P&gt;&lt;P&gt;I'm not able to access the json file using this path. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 19 Jan 2023 04:12:18 GMT</pubDate>
    <dc:creator>CK</dc:creator>
    <dc:date>2023-01-19T04:12:18Z</dc:date>
    <item>
      <title>I need to access the json file in the github repo from the databricks notebookI have a repo integrated with Databricks workspace.  When I run %sh pwd ...</title>
      <link>https://community.databricks.com/t5/machine-learning/i-need-to-access-the-json-file-in-the-github-repo-from-the/m-p/11246#M562</link>
      <description>&lt;P&gt;I need to access the json file in the github repo from the databricks notebook&lt;/P&gt;&lt;P&gt;I have a repo integrated with Databricks workspace. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I run %sh pwd it returns this path /Workspace/Repos/chris@myemail/Repo/folder/test.json. &lt;/P&gt;&lt;P&gt;I'm not able to access the json file using this path. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2023 04:12:18 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/i-need-to-access-the-json-file-in-the-github-repo-from-the/m-p/11246#M562</guid>
      <dc:creator>CK</dc:creator>
      <dc:date>2023-01-19T04:12:18Z</dc:date>
    </item>
    <item>
      <title>Re: I need to access the json file in the github repo from the databricks notebookI have a repo integrated with Databricks workspace.  When I run %sh pwd ...</title>
      <link>https://community.databricks.com/t5/machine-learning/i-need-to-access-the-json-file-in-the-github-repo-from-the/m-p/11247#M563</link>
      <description>&lt;P&gt;I used the following code to read json file from this location and its working for me. Can you check if this works for you:&lt;/P&gt;&lt;P&gt;envconfigfilepath = "/Workspace/Repos/xyz@abc.io/Repo/notebooks/WF_Config/modify_config.json"&lt;/P&gt;&lt;P&gt;with open(envconfigfilepath) as json_data:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;env_object = json.load(json_data)&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2023 05:21:16 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/i-need-to-access-the-json-file-in-the-github-repo-from-the/m-p/11247#M563</guid>
      <dc:creator>SRK</dc:creator>
      <dc:date>2023-01-19T05:21:16Z</dc:date>
    </item>
    <item>
      <title>Re: I need to access the json file in the github repo from the databricks notebookI have a repo integrated with Databricks workspace.  When I run %sh pwd ...</title>
      <link>https://community.databricks.com/t5/machine-learning/i-need-to-access-the-json-file-in-the-github-repo-from-the/m-p/11248#M564</link>
      <description>&lt;P&gt;It works! Thank you, SRK!&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2023 11:08:13 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/i-need-to-access-the-json-file-in-the-github-repo-from-the/m-p/11248#M564</guid>
      <dc:creator>CK</dc:creator>
      <dc:date>2023-01-19T11:08:13Z</dc:date>
    </item>
  </channel>
</rss>

