def connect_to_bigquery()

in app/services/bigquery.py [0:0]


def connect_to_bigquery() -> bigquery.Client:
    """
    Establish a connection to BigQuery.

    Returns:
        bigquery.Client: A BigQuery client object.
    """
    client: bigquery.Client = bigquery.Client()
    logger.info("🔌 Connected to BigQuery")
    return client