diff --git a/packages/google-cloud-automl/samples/snippets/vision_classification_create_dataset.py b/packages/google-cloud-automl/samples/snippets/vision_classification_create_dataset.py index 3d4da1b9e7a3..67595c8238cc 100644 --- a/packages/google-cloud-automl/samples/snippets/vision_classification_create_dataset.py +++ b/packages/google-cloud-automl/samples/snippets/vision_classification_create_dataset.py @@ -40,7 +40,7 @@ def create_dataset(project_id, display_name): ) # Create a dataset with the dataset metadata in the region. - response = client.create_dataset(parent=project_location, dataset=dataset) + response = client.create_dataset(parent=project_location, dataset=dataset, timeout=300) created_dataset = response.result()