python/datasources/covid_tracking_project.py
def _download_metadata(dataset: str) -> pd.DataFrame:
        """Downloads the metadata table from BigQuery by executing a query.

        Args:
        dataset: Name of the dataset to request metadata from

        Returns:
        A pandas.DataFrame containing the contents of the requested table."""
        client = bigquery.Client()
        job_config = bigquery.QueryJobConfig(
            default_dataset=client.get_dataset(dataset))
        sql = """
        SELECT *
        FROM {};
        """.format(CtpMetadata.get_table_name())
        return client.query(sql, job_config=job_config).to_dataframe()
Downloads the metadata table from BigQuery by executing a query.

        Args:
        dataset: Name of the dataset to request metadata from

        Returns:
        A pandas.DataFrame containing the contents of the requested table.
Downloads the metadata table from BigQuery by executing a query.
Args:
dataset: Name of the dataset to request metadata from

A pandas.DataFrame containing the contents of the requested table.
Downloads the metadata table from BigQuery by executing a query . Args : dataset : Name of the dataset to request metadata from A pandas . DataFrame containing the contents of the requested table .
def _download_metadata(dataset: str) -> pd.DataFrame:
        client = bigquery.Client()
        job_config = bigquery.QueryJobConfig(
            default_dataset=client.get_dataset(dataset))
        sql = """
        SELECT *
        FROM {};
        """.format(CtpMetadata.get_table_name())
        return client.query(sql, job_config=job_config).to_dataframe()
def _download_metadata ( dataset : str ) -> pd . DataFrame : client = bigquery . Client ( ) job_config = bigquery . QueryJobConfig ( default_dataset = client . get_dataset ( dataset ) ) sql = """
        SELECT *
        FROM {};
        """ . format ( CtpMetadata . get_table_name ( ) ) return client . query ( sql , job_config = job_config ) . to_dataframe ( )
Downloads the metadata table from BigQuery by executing a query.
Downloads the metadata table from BigQuery by executing a query .
"""Downloads the metadata table from BigQuery by executing a query.

        Args:
        dataset: Name of the dataset to request metadata from

        Returns:
        A pandas.DataFrame containing the contents of the requested table."""
dataset
str