Skip to content

Commit

Permalink
..
Browse files Browse the repository at this point in the history
  • Loading branch information
nfx committed Nov 7, 2023
1 parent 458a2d2 commit a9eea6f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -148,4 +148,5 @@ dev/cleanup.py
.databricks
.vscode

.python-version
.python-version
.databricks-login.json
5 changes: 4 additions & 1 deletion labs.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
---
name: ucx
description: Unity Catalog Migration Toolkit (UCX)
install_hook: src/databricks/labs/ucx/install.py
install:
warehouse_types:
- PRO
script: src/databricks/labs/ucx/install.py
entrypoint: src/databricks/labs/ucx/cli.py
min_python: 3.10
commands:
Expand Down
4 changes: 2 additions & 2 deletions src/databricks/labs/ucx/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
logger = logging.getLogger('databricks.labs.ucx')


def jobs():
def workflows():
ws = WorkspaceClient()
installer = WorkspaceInstaller(ws)
logger.info('Fetching deployed jobs...')
Expand All @@ -26,7 +26,7 @@ def open_remote_config():

MAPPING = {
'open-remote-config': open_remote_config,
'jobs': jobs,
'workflows': workflows,
}


Expand Down

0 comments on commit a9eea6f

Please sign in to comment.