question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Samples] [Azure.AI.FormRecognizer] Suggest change sample code method to async.

See original GitHub issue

Section Link

Details: image

Comments: Use async method might be good there.

Response<IReadOnlyList<RecognizedReceipt>> receipts = await client.StartRecognizeReceiptsAsync(stream).WaitForCompletionAsync();

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
annelo-msftcommented, Apr 29, 2020

We can add async samples where appropriate. @kinelski, @maririos, @mayurid

0reactions
kinelskicommented, Jul 13, 2020

Fixed by #13224.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found