

def get_datasets(self):
    'List all datasets in the project.\n\n        Returns\n        -------\n        list\n            Dataset resources\n        '
    try:
        datasets = self.bigquery.datasets()
        request = datasets.list(projectId=self.project_id)
        result = request.execute()
        return result.get('datasets', [])
    except HttpError as e:
        logger.error('Cannot list datasets: {0}'.format(request))
        return None

dataset/ETHPy150Open tylertreat/BigQuery-Python/bigquery/client.py BigQueryClient.get_datasets/VarMisuse@74/129 `e`->`request`