We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9d5d6f commit 0de8048Copy full SHA for 0de8048
genai/batch_prediction/get_batch_job.py
@@ -23,7 +23,7 @@ def get_batch_job(batch_job_name: str) -> types.BatchJob:
23
client = genai.Client(http_options=HttpOptions(api_version="v1"))
24
25
# Get the batch job
26
- # Eg. batch_job_name = "projects/123456789012/locations/ABCDEF/batchPredictionJobs/1234567890123456789"
+# Eg. batch_job_name = "projects/123456789012/locations/.../batchPredictionJobs/1234567890123456789"
27
batch_job = client.batches.get(name=batch_job_name)
28
29
print(f"Job state: {batch_job.state}")
0 commit comments