From efb9d0b3eff27364764aa5d6dc7fa57c3d4825e5 Mon Sep 17 00:00:00 2001 From: Andrew Ferlitsch Date: Fri, 10 Sep 2021 12:33:02 -0700 Subject: [PATCH] fix: flaky test, issue 223 (#250) --- samples/snippets/vision_classification_create_dataset.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/snippets/vision_classification_create_dataset.py b/samples/snippets/vision_classification_create_dataset.py index 3d4da1b9..67595c82 100644 --- a/samples/snippets/vision_classification_create_dataset.py +++ b/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()