Skip to content

Commit

Permalink
Fix incorrect return value structure from _fetch_message (#408)
Browse files Browse the repository at this point in the history
  • Loading branch information
drobison00 authored Feb 6, 2025
1 parent a4e6920 commit 7132125
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/nv_ingest_client/client/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ def fetch_with_retries(job_id: str):
try:
result, _ = handle_future_result(future, timeout=timeout)
# Append a tuple of (result data, job_id). (Using result.get("data") if result is valid.)
results.append((result.get("data") if result else None, job_id))
results.append(result.get("data"))
# Run the callback if provided and the result is valid
if completion_callback and result:
completion_callback(result, job_id)
Expand Down

0 comments on commit 7132125

Please sign in to comment.