fix: usability improvement to the graph visualizer (#215) · googleapis/python-bigquery-magics@7655ada · GitHub
Skip to content
This repository was archived by the owner on May 7, 2026. It is now read-only.

Commit 7655ada

Browse files
fix: usability improvement to the graph visualizer (#215)
1) Disallow backticks in the graph name, as the code doesn't handle them properly 2) Add try/catch so a failed information_schema query only disables schema view, not the entire visualizer 3) Remove the default table view when the graph visualizer is used. Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly: - [ ] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/python-bigquery-magics/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea - [ ] Ensure the tests and linter pass - [ ] Code coverage does not decrease (if any source code was changed) - [ ] Appropriate docs were updated (if necessary) Fixes #<issue_number_goes_here> 🦕
1 parent 215e53a commit 7655ada

2 files changed

Lines changed: 41 additions & 16 deletions

File tree

bigquery_magics/bigquery.py

Lines changed: 21 additions & 7 deletions

tests/unit/bigquery/test_bigquery.py

Lines changed: 20 additions & 9 deletions

0 commit comments

Comments
 (0)