Hi @Sebastian Gay , This section guides developing notebooks and jobs in Azure Databricks using Python. The first subsection provides links to tutorials for common workflows and tasks. The second subsection provides links to APIs, libraries, and critical tools.
To work with non-notebook files in Databricks Repos, you must be running Databricks Runtime 8.4 or above.
You need to enable files in Databricks Repos at first.
An admin can enable the Files in Repos feature as follows:
- Go to the Admin Console.
- Click the Workspace Settings tab.
- In the Repos section, click the Files in Repos toggle.
After the feature has been enabled, you must restart your cluster and refresh your browser before you can use Files in Repos.
Additionally, the first time you access a repo after Files in Repos is enabled, you must open the Git dialog. A dialog indicates that you must perform a pull operation to sync non-notebook files in the repo. Select Agree and Pull to sync files. If there are any merge conflicts, another dialog appears, giving you the option of discarding your conflicting changes or pushing your changes to a new branch.
To Confirm Files in Repos are enabled,
You can use the command
%sh pwd
in a notebook inside a Repo to check if Files in Repos are enabled.
- If Files in Repos is not enabled, the response is
/databricks/driver
- If Files in Repos is enabled, the response is
/Workspace/Repos/<path to notebook directory>