diff --git a/samples/snippets/translate_v3_batch_translate_text_with_model_test.py b/samples/snippets/translate_v3_batch_translate_text_with_model_test.py index 36c52ae2..a7801f60 100644 --- a/samples/snippets/translate_v3_batch_translate_text_with_model_test.py +++ b/samples/snippets/translate_v3_batch_translate_text_with_model_test.py @@ -28,7 +28,7 @@ @pytest.fixture(scope="function") def bucket(): """Create a temporary bucket to store annotation output.""" - bucket_name = str(uuid.uuid1()) + bucket_name = f'tmp-{uuid.uuid4().hex}' storage_client = storage.Client() bucket = storage_client.create_bucket(bucket_name)