Commit 7655ada
authored
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
File tree
2 files changed
+41
-16
lines changed- bigquery_magics
- tests/unit/bigquery
2 files changed
+41
-16
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
648 | 648 | | |
649 | 649 | | |
650 | 650 | | |
651 | | - | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
652 | 655 | | |
653 | 656 | | |
654 | 657 | | |
| |||
668 | 671 | | |
669 | 672 | | |
670 | 673 | | |
671 | | - | |
672 | | - | |
673 | | - | |
674 | | - | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
675 | 683 | | |
676 | 684 | | |
677 | 685 | | |
| |||
733 | 741 | | |
734 | 742 | | |
735 | 743 | | |
736 | | - | |
| 744 | + | |
737 | 745 | | |
738 | 746 | | |
739 | 747 | | |
| |||
764 | 772 | | |
765 | 773 | | |
766 | 774 | | |
| 775 | + | |
767 | 776 | | |
768 | 777 | | |
769 | 778 | | |
| |||
870 | 879 | | |
871 | 880 | | |
872 | 881 | | |
873 | | - | |
| 882 | + | |
| 883 | + | |
| 884 | + | |
| 885 | + | |
| 886 | + | |
| 887 | + | |
874 | 888 | | |
875 | 889 | | |
876 | 890 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
241 | 241 | | |
242 | 242 | | |
243 | 243 | | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
244 | 261 | | |
245 | 262 | | |
246 | 263 | | |
| |||
614 | 631 | | |
615 | 632 | | |
616 | 633 | | |
617 | | - | |
618 | | - | |
619 | | - | |
| 634 | + | |
620 | 635 | | |
621 | 636 | | |
622 | 637 | | |
| |||
735 | 750 | | |
736 | 751 | | |
737 | 752 | | |
738 | | - | |
739 | | - | |
740 | | - | |
| 753 | + | |
741 | 754 | | |
742 | 755 | | |
743 | 756 | | |
| |||
1015 | 1028 | | |
1016 | 1029 | | |
1017 | 1030 | | |
1018 | | - | |
1019 | | - | |
1020 | | - | |
| 1031 | + | |
1021 | 1032 | | |
1022 | 1033 | | |
1023 | 1034 | | |
| |||
0 commit comments