Skip to content

Commit 0de8048

Browse files
Update genai/batch_prediction/get_batch_job.py
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent e9d5d6f commit 0de8048

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

genai/batch_prediction/get_batch_job.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def get_batch_job(batch_job_name: str) -> types.BatchJob:
2323
client = genai.Client(http_options=HttpOptions(api_version="v1"))
2424

2525
# Get the batch job
26-
# Eg. batch_job_name = "projects/123456789012/locations/ABCDEF/batchPredictionJobs/1234567890123456789"
26+
# Eg. batch_job_name = "projects/123456789012/locations/.../batchPredictionJobs/1234567890123456789"
2727
batch_job = client.batches.get(name=batch_job_name)
2828

2929
print(f"Job state: {batch_job.state}")

0 commit comments

Comments
 (0)