MCPcopy
hub / github.com/CodebuffAI/codebuff / getClient

Function getClient

packages/bigquery/src/client.ts:29–36  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 10

insertMessageBigqueryFunction · 0.85
insertTraceFunction · 0.85
insertRelabelFunction · 0.85
getRecentTracesFunction · 0.85
getRecentRelabelsFunction · 0.85
getTracesWithoutRelabelsFunction · 0.85
getTracesWithRelabelsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected