databrickslabs / lsql

Lightweight SQL execution wrapper only on top of Databricks SDK
https://pypi.org/project/databricks-labs-lsql/
Other
8 stars 2 forks source link

Add cli command #153

Closed JCZuurmond closed 2 months ago

JCZuurmond commented 2 months ago

Resolves #135

~/github/databrickslabs/lsql feat/add-cli-command ⇡1 *1 ❯ databricks labs lsql create-dashboard --folder tests/integration/dashboards/one_counter/                                                                                             х INT 15:33:57
15:34:01  INFO [databricks.sdk] Using Databricks CLI authentication
15:34:01  INFO [__main__] Creating dashboard ...
15:34:01  WARN [d.l.lsql.dashboards] Parsing tests/integration/dashboards/one_counter/000_counter.md: Invalid expression / Unexpected token. Line 1, Col: 1.
  # Counter

Below you see an example counter widget. Counter widgets in dashboards are used to display
15:34:02  INFO [__main__] Created dashboard: https://adb-REDACTED.2.azuredatabricks.net/sql/dashboardsv3/REDACTED.
REDACTED

Screenshot 2024-06-14 at 15 36 27

Created issue for the WARN #159

github-actions[bot] commented 2 months ago

✅ 27/27 passed, 2 skipped, 7m9s total

Running from acceptance #172