Skip to content

Commit

Permalink
Add examples
Browse files Browse the repository at this point in the history
  • Loading branch information
raymondguo-db committed Jul 31, 2024
1 parent 6a9c534 commit 22933c9
Show file tree
Hide file tree
Showing 8 changed files with 121 additions and 80 deletions.
33 changes: 22 additions & 11 deletions examples/workspace/alerts/create_alerts.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

35 changes: 23 additions & 12 deletions examples/workspace/alerts/get_alerts.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

50 changes: 35 additions & 15 deletions examples/workspace/alerts/update_alerts.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 0 additions & 15 deletions examples/workspace/queries/create_alerts.py

This file was deleted.

16 changes: 9 additions & 7 deletions examples/workspace/queries/create_queries.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 10 additions & 8 deletions examples/workspace/queries/get_queries.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions examples/workspace/queries/list_queries.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
from databricks.sdk import WorkspaceClient

w = WorkspaceClient()

all = w.queries.list()
29 changes: 17 additions & 12 deletions examples/workspace/queries/update_queries.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 22933c9

Please sign in to comment.