Here is a version of @vr 's solution that can be run from any folder within the rep. It uses regex to extract the root from the path in the form of \Repos\<username>\<some-repo:import os
import re
from databricks.sdk import WorkspaceClient
w = Worksp...