

def get_dataset(self, dataset_id):
    'Retrieve a dataset if it exists, otherwise return an empty dict.\n\n        Parameters\n        ----------\n        dataset_id : str\n            Dataset unique id\n\n        Returns\n        -------\n        dict\n            Contains dataset object if it exists, else empty\n        '
    try:
        dataset = self.bigquery.datasets().get(projectId=dataset_id.project_id, datasetId=dataset_id).execute()
    except HttpError:
        dataset = {
            
        }
    return dataset

dataset/ETHPy150Open tylertreat/BigQuery-Python/bigquery/client.py BigQueryClient.get_dataset/VarMisuse@32/126 `self`->`dataset_id`