def list_tables(dataset_name, project=None):
 bigquery_client = bigquery.Client(project=project)
 dataset = bigquery_client.dataset(dataset_name)
 if (not dataset.exists()):
  print 'Dataset {} does not exist.'.format(dataset_name)
  return
 for table in dataset.list_tables():
  print table.name

def list_tables ( dataset_name , project = None ) : bigquery_client = bigquery . Client ( project = project ) dataset = bigquery_client . dataset ( dataset_name ) if ( not dataset . exists ( ) ) : print 'Dataset {} does not exist.' . format ( dataset_name ) return for table in dataset . list_tables ( ) : print table . name
lists all of the tables in a given dataset .