()
| 27 | let client: BigQuery | null = null |
| 28 | |
| 29 | function getClient(): BigQuery { |
| 30 | if (!client) { |
| 31 | throw new Error( |
| 32 | 'BigQuery client not initialized. Call setupBigQuery first.', |
| 33 | ) |
| 34 | } |
| 35 | return client |
| 36 | } |
| 37 | |
| 38 | export async function setupBigQuery({ |
| 39 | dataset, |
no outgoing calls
no test coverage detected