[Samples] [Azure.AI.FormRecognizer] Suggest change sample code method to async.
See original GitHub issueSection Link
Details:
Comments: Use async method might be good there.
Response<IReadOnlyList<RecognizedReceipt>> receipts = await client.StartRecognizeReceiptsAsync(stream).WaitForCompletionAsync();
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
com.azure.ai.formrecognizer Package
This class provides an synchronous client to connect to the Form Recognizer Azure Cognitive Service.
Read more >azure.ai.formrecognizer.aio.FormRecognizerClient class
It is the interface to use for analyzing with prebuilt models (receipts, business cards, invoices, identity documents), recognizing content/layout from forms, ...
Read more >azure.ai.formrecognizer.aio.DocumentAnalysisClient class
It is the interface to use for analyzing with prebuilt models (receipts, business cards, invoices, identity documents, among others), analyzing layout from ...
Read more >Source code for azure.ai.formrecognizer.aio. ...
[docs]class DocumentModelAdministrationClient(FormRecognizerClientBaseAsync): """DocumentModelAdministrationClient is the Form Recognizer ...
Read more >Azure Form Recognizer client library for Python
Sample code snippets are provided to illustrate using long-running operations below. Examples. The following section provides several code ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
We can add async samples where appropriate. @kinelski, @maririos, @mayurid
Fixed by #13224.