Question
You are developing an application that analyze invoices by using Azure Content Understanding in Foundry Tools.
You need to ensure that the application retrieves the analysis results after processing completes.
How should you complete the Python code? To answer, select the appropriate option in the answer area.
NOTE: Each correct selection is worth one point.
Explanation
With the long-running (poller) pattern in the Azure SDK, begin_analyze returns a poller object, and calling poller.result() blocks until the operation completes and then returns the final analysis results. This is exactly what is needed to retrieve results after processing finishes. Methods like status() or done() only report progress rather than returning the completed output.