Skip to content

Commit

Permalink
fix type declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
catalinaperalta committed Mar 8, 2021
1 parent 0872f9c commit 9e2a013
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ async def begin_recognize_business_cards_from_url(

@distributed_trace_async
async def begin_recognize_id_documents(
self, id_document, **kwargs: Any
self, id_document: Union[bytes, IO[bytes]], **kwargs: Any
) -> AsyncLROPoller[List[RecognizedForm]]:
"""Extract field text and semantic values from a given ID document.
The input document must be of one of the supported content types - 'application/pdf',
Expand Down

0 comments on commit 9e2a013

Please sign in to comment.