Commit 547ec88
fix: lazy-import google-cloud-bigquery in idc_index_data_manager
Move the bigquery import into __init__ and use TYPE_CHECKING for
type annotations, so tests that only use the static parsing methods
can import the module without google-cloud-bigquery installed.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 8e69de3 commit 547ec88
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
11 | 14 | | |
12 | 15 | | |
13 | 16 | | |
| |||
18 | 21 | | |
19 | 22 | | |
20 | 23 | | |
| 24 | + | |
| 25 | + | |
21 | 26 | | |
22 | 27 | | |
23 | 28 | | |
| |||
0 commit comments