@snippet
def dataset_reload(client, to_delete):
 DATASET_NAME = ('dataset_reload_%d' % (_millis(),))
 dataset = client.dataset(DATASET_NAME)
 dataset.description = ORIGINAL_DESCRIPTION
 dataset.create()
 to_delete.append(dataset)
 assert (dataset.description == ORIGINAL_DESCRIPTION)
 dataset.description = LOCALLY_CHANGED_DESCRIPTION
 assert (dataset.description == LOCALLY_CHANGED_DESCRIPTION)
 dataset.reload()
 assert (dataset.description == ORIGINAL_DESCRIPTION)

@ snippet def dataset_reload ( client , to_delete ) : DATASET_NAME = ( 'dataset_reload_%d' % ( _millis ( ) , ) ) dataset = client . dataset ( DATASET_NAME ) dataset . description = ORIGINAL_DESCRIPTION dataset . create ( ) to_delete . append ( dataset ) assert ( dataset . description == ORIGINAL_DESCRIPTION ) dataset . description = LOCALLY_CHANGED_DESCRIPTION assert ( dataset . description == LOCALLY_CHANGED_DESCRIPTION ) dataset . reload ( ) assert ( dataset . description == ORIGINAL_DESCRIPTION )
reload a datasets metadata .