Skip to content

Commit af58f0e

Browse files
authored
Fixed crawl_permissions task to respect 'workspace_start_path' config (#444)
The crawl_permissions task in assessment would not respect the config value of workspace_start_path as it was not present in the 'from_dict' classmethod. Added an extraction for the config. Removed dbconnect from Contributing README as it is no longer needed.
1 parent 27ac85b commit af58f0e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ hatch env create
129129

130130
To install development dependencies, including testing and database connection packages, use the following command:
131131
```shell
132-
hatch run pip install -e '.[test,dbconnect]'
132+
hatch run pip install -e '.[test]'
133133
```
134134

135135
To ensure your integrated development environment (IDE) uses the newly created virtual environment, you can retrieve the Python path with this command:

src/databricks/labs/ucx/config.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,7 @@ def from_dict(cls, raw: dict):
224224
log_level=raw.get("log_level", "INFO"),
225225
database_to_catalog_mapping=raw.get("database_to_catalog_mapping", None),
226226
default_catalog=raw.get("default_catalog", "main"),
227+
workspace_start_path=raw.get("workspace_start_path", "/")
227228
)
228229

229230
def to_workspace_client(self) -> WorkspaceClient:

0 commit comments

Comments
 (0)