- Package Name: azure-ai-documentintelligence
- Package Version: 1.0.2
- Operating System: Windows 10
- Python Version: 3.13.11
Describe the bug
I tried following the sample tutorials sample_analyze_batch_documents.py and sample_analyze_batch_documents_async.py, and in both cases, the mechanism to verify whether the operation is concluded does not work.
Specifically, I always get the message "The batch analyze is still in process..." even when I know for a fact that the analysis has concluded.
I also tried implementing a solution by using the method add_done_callback but this also does not work. Unfortunately, there is no sample that illustrates the correct use of this method to monitor a batch analysis.
To Reproduce
Steps to reproduce the behavior:
- run the samples.
Expected behavior
The prints should reflect the status of the batch analysis operation.
Describe the bug
I tried following the sample tutorials sample_analyze_batch_documents.py and sample_analyze_batch_documents_async.py, and in both cases, the mechanism to verify whether the operation is concluded does not work.
Specifically, I always get the message "The batch analyze is still in process..." even when I know for a fact that the analysis has concluded.
I also tried implementing a solution by using the method add_done_callback but this also does not work. Unfortunately, there is no sample that illustrates the correct use of this method to monitor a batch analysis.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The prints should reflect the status of the batch analysis operation.