File tree Expand file tree Collapse file tree 2 files changed +11
-9
lines changed
sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer Expand file tree Collapse file tree 2 files changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -172,21 +172,22 @@ def begin_analyze_document_from_url(
172172 # regular analysis requests
173173 if continuation_token is not None :
174174 return self ._client .begin_analyze_document ( # type: ignore
175- model_id = model_id ,
176- analyze_request = {"urlSource" : document_url }, # type: ignore
177- string_index_type = "unicodeCodePoint" ,
178- continuation_token = continuation_token ,
179- cls = cls ,
180- ** kwargs
181- )
175+ model_id = model_id ,
176+ analyze_request = {"urlSource" : document_url }, # type: ignore
177+ string_index_type = "unicodeCodePoint" ,
178+ continuation_token = continuation_token ,
179+ cls = cls ,
180+ ** kwargs
181+ )
182182
183183 if not model_id :
184184 raise ValueError ("model_id cannot be None or empty." )
185185
186186 if not isinstance (document_url , str ):
187187 raise ValueError (
188188 "'document_url' needs to be of type 'str'. "
189- "Please see `begin_analyze_document()` to pass a byte stream." )
189+ "Please see `begin_analyze_document()` to pass a byte stream."
190+ )
190191
191192 return self ._client .begin_analyze_document ( # type: ignore
192193 model_id = model_id ,
Original file line number Diff line number Diff line change @@ -188,7 +188,8 @@ async def begin_analyze_document_from_url(
188188 if not isinstance (document_url , str ):
189189 raise ValueError (
190190 "'document_url' needs to be of type 'str'. "
191- "Please see `begin_analyze_document()` to pass a byte stream." )
191+ "Please see `begin_analyze_document()` to pass a byte stream."
192+ )
192193
193194 return await self ._client .begin_analyze_document ( # type: ignore
194195 model_id = model_id ,
You can’t perform that action at this time.
0 commit comments