Skip to content

Commit

Permalink
add missing change
Browse files Browse the repository at this point in the history
  • Loading branch information
leehuwuj committed Dec 3, 2024
1 parent 621197c commit abe44f6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def add_file_to_pipeline(
max_attempts = 20
attempt = 0
while attempt < max_attempts:
result = client.pipelines.get_pipeline_file_status(pipeline_id, file.id)
result = client.pipelines.get_pipeline_file_status(file.id, pipeline_id)
if result.status == ManagedIngestionStatus.ERROR:
raise Exception(f"File processing failed: {str(result)}")
if result.status == ManagedIngestionStatus.SUCCESS:
Expand Down

0 comments on commit abe44f6

Please sign in to comment.