in transcoder/output/google_cloud/BigQueryOutputManager.py [0:0]
def _does_dataset_exist(self, dataset_ref) -> bool:
try:
self.client.get_dataset(dataset_ref)
logging.debug('Dataset %s already exists', dataset_ref)
return True
except NotFound:
logging.debug('Dataset %s is not found', dataset_ref)
return False