Skip to content

Commit edad738

Browse files
deploy: b638540
1 parent 786ccdf commit edad738

File tree

5 files changed

+21
-21
lines changed

5 files changed

+21
-21
lines changed

client.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ <h2>Client<a class="headerlink" href="#client" title="Permalink to this heading"
138138
<dd class="field-odd"><ul class="simple">
139139
<li><p><strong>product_class</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">Type</span></code>[<code class="xref py py-class docutils literal notranslate"><span class="pre">Inference</span></code>]) – The document class to use.
140140
The response object will be instantiated based on this parameter.</p></li>
141-
<li><p><strong>input_source</strong> (<code class="xref py py-data docutils literal notranslate"><span class="pre">Union</span></code>[<a class="reference internal" href="misc/input.html#mindee.input.LocalInputSource" title="mindee.input.sources.LocalInputSource"><code class="xref py py-class docutils literal notranslate"><span class="pre">LocalInputSource</span></code></a>, <a class="reference internal" href="misc/input.html#mindee.input.UrlInputSource" title="mindee.input.sources.UrlInputSource"><code class="xref py py-class docutils literal notranslate"><span class="pre">UrlInputSource</span></code></a>]) – The document/source file to use.
141+
<li><p><strong>input_source</strong> (<code class="xref py py-data docutils literal notranslate"><span class="pre">Union</span></code>[<a class="reference internal" href="misc/input.html#mindee.input.LocalInputSource" title="mindee.input.sources.local_input_source.LocalInputSource"><code class="xref py py-class docutils literal notranslate"><span class="pre">LocalInputSource</span></code></a>, <a class="reference internal" href="misc/input.html#mindee.input.UrlInputSource" title="mindee.input.sources.url_input_source.UrlInputSource"><code class="xref py py-class docutils literal notranslate"><span class="pre">UrlInputSource</span></code></a>]) – The document/source file to use.
142142
Has to be created beforehand.</p></li>
143143
<li><p><strong>include_words</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">bool</span></code>, default: <code class="docutils literal notranslate"><span class="pre">False</span></code>) – Whether to include the full text for each page.
144144
This performs a full OCR operation on the server and will increase response time.</p></li>
@@ -167,7 +167,7 @@ <h2>Client<a class="headerlink" href="#client" title="Permalink to this heading"
167167
<dt class="field-odd">Parameters<span class="colon">:</span></dt>
168168
<dd class="field-odd"><ul class="simple">
169169
<li><p><strong>product_class</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">Type</span></code>[<code class="xref py py-class docutils literal notranslate"><span class="pre">Inference</span></code>]) – The document class to use. The response object will be instantiated based on thisparameter.</p></li>
170-
<li><p><strong>input_source</strong> (<code class="xref py py-data docutils literal notranslate"><span class="pre">Union</span></code>[<a class="reference internal" href="misc/input.html#mindee.input.LocalInputSource" title="mindee.input.sources.LocalInputSource"><code class="xref py py-class docutils literal notranslate"><span class="pre">LocalInputSource</span></code></a>, <a class="reference internal" href="misc/input.html#mindee.input.UrlInputSource" title="mindee.input.sources.UrlInputSource"><code class="xref py py-class docutils literal notranslate"><span class="pre">UrlInputSource</span></code></a>]) – The document/source file to use. Has to be created beforehand.</p></li>
170+
<li><p><strong>input_source</strong> (<code class="xref py py-data docutils literal notranslate"><span class="pre">Union</span></code>[<a class="reference internal" href="misc/input.html#mindee.input.LocalInputSource" title="mindee.input.sources.local_input_source.LocalInputSource"><code class="xref py py-class docutils literal notranslate"><span class="pre">LocalInputSource</span></code></a>, <a class="reference internal" href="misc/input.html#mindee.input.UrlInputSource" title="mindee.input.sources.url_input_source.UrlInputSource"><code class="xref py py-class docutils literal notranslate"><span class="pre">UrlInputSource</span></code></a>]) – The document/source file to use. Has to be created beforehand.</p></li>
171171
<li><p><strong>include_words</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">bool</span></code>, default: <code class="docutils literal notranslate"><span class="pre">False</span></code>) – Whether to include the full text for each page. This performs a full OCR operation on the server and will increase response time.</p></li>
172172
<li><p><strong>close_file</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">bool</span></code>, default: <code class="docutils literal notranslate"><span class="pre">True</span></code>) – Whether to <code class="docutils literal notranslate"><span class="pre">close()</span></code> the file after parsing it. Set to <code class="docutils literal notranslate"><span class="pre">False</span></code> if you need to access the file after this operation.</p></li>
173173
<li><p><strong>page_options</strong> (<code class="xref py py-data docutils literal notranslate"><span class="pre">Optional</span></code>[<a class="reference internal" href="misc/input.html#mindee.input.PageOptions" title="mindee.input.page_options.PageOptions"><code class="xref py py-class docutils literal notranslate"><span class="pre">PageOptions</span></code></a>], default: <code class="docutils literal notranslate"><span class="pre">None</span></code>) – If set, remove pages from the document as specified. This is done before sending the file to the server. It is useful to avoid page limitations.</p></li>
@@ -192,7 +192,7 @@ <h2>Client<a class="headerlink" href="#client" title="Permalink to this heading"
192192
<dl class="field-list simple">
193193
<dt class="field-odd">Parameters<span class="colon">:</span></dt>
194194
<dd class="field-odd"><ul class="simple">
195-
<li><p><strong>input_source</strong> (<code class="xref py py-data docutils literal notranslate"><span class="pre">Union</span></code>[<a class="reference internal" href="misc/input.html#mindee.input.LocalInputSource" title="mindee.input.sources.LocalInputSource"><code class="xref py py-class docutils literal notranslate"><span class="pre">LocalInputSource</span></code></a>, <a class="reference internal" href="misc/input.html#mindee.input.UrlInputSource" title="mindee.input.sources.UrlInputSource"><code class="xref py py-class docutils literal notranslate"><span class="pre">UrlInputSource</span></code></a>]) – The document/source file to use.
195+
<li><p><strong>input_source</strong> (<code class="xref py py-data docutils literal notranslate"><span class="pre">Union</span></code>[<a class="reference internal" href="misc/input.html#mindee.input.LocalInputSource" title="mindee.input.sources.local_input_source.LocalInputSource"><code class="xref py py-class docutils literal notranslate"><span class="pre">LocalInputSource</span></code></a>, <a class="reference internal" href="misc/input.html#mindee.input.UrlInputSource" title="mindee.input.sources.url_input_source.UrlInputSource"><code class="xref py py-class docutils literal notranslate"><span class="pre">UrlInputSource</span></code></a>]) – The document/source file to use.
196196
Has to be created beforehand.</p></li>
197197
<li><p><strong>workflow_id</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) – ID of the workflow.</p></li>
198198
<li><p><strong>page_options</strong> (<code class="xref py py-data docutils literal notranslate"><span class="pre">Optional</span></code>[<a class="reference internal" href="misc/input.html#mindee.input.PageOptions" title="mindee.input.page_options.PageOptions"><code class="xref py py-class docutils literal notranslate"><span class="pre">PageOptions</span></code></a>], default: <code class="docutils literal notranslate"><span class="pre">None</span></code>) – If set, remove pages from the document as specified. This is done before sending the file to the server. It is useful to avoid page limitations.</p></li>
@@ -237,7 +237,7 @@ <h2>Client<a class="headerlink" href="#client" title="Permalink to this heading"
237237
<dd class="field-odd"><ul class="simple">
238238
<li><p><strong>product_class</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">Type</span></code>[<code class="xref py py-class docutils literal notranslate"><span class="pre">Inference</span></code>]) – The document class to use.
239239
The response object will be instantiated based on this parameter.</p></li>
240-
<li><p><strong>input_source</strong> (<code class="xref py py-data docutils literal notranslate"><span class="pre">Union</span></code>[<a class="reference internal" href="misc/input.html#mindee.input.LocalInputSource" title="mindee.input.sources.LocalInputSource"><code class="xref py py-class docutils literal notranslate"><span class="pre">LocalInputSource</span></code></a>, <a class="reference internal" href="misc/input.html#mindee.input.UrlInputSource" title="mindee.input.sources.UrlInputSource"><code class="xref py py-class docutils literal notranslate"><span class="pre">UrlInputSource</span></code></a>]) – The document/source file to use.
240+
<li><p><strong>input_source</strong> (<code class="xref py py-data docutils literal notranslate"><span class="pre">Union</span></code>[<a class="reference internal" href="misc/input.html#mindee.input.LocalInputSource" title="mindee.input.sources.local_input_source.LocalInputSource"><code class="xref py py-class docutils literal notranslate"><span class="pre">LocalInputSource</span></code></a>, <a class="reference internal" href="misc/input.html#mindee.input.UrlInputSource" title="mindee.input.sources.url_input_source.UrlInputSource"><code class="xref py py-class docutils literal notranslate"><span class="pre">UrlInputSource</span></code></a>]) – The document/source file to use.
241241
Has to be created beforehand.</p></li>
242242
<li><p><strong>include_words</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">bool</span></code>, default: <code class="docutils literal notranslate"><span class="pre">False</span></code>) – Whether to include the full text for each page.
243243
This performs a full OCR operation on the server and will increase response time.
@@ -312,7 +312,7 @@ <h2>Client<a class="headerlink" href="#client" title="Permalink to this heading"
312312
</ul>
313313
</dd>
314314
<dt class="field-even">Return type<span class="colon">:</span></dt>
315-
<dd class="field-even"><p><a class="reference internal" href="misc/input.html#mindee.input.Base64Input" title="mindee.input.sources.Base64Input"><code class="xref py py-class docutils literal notranslate"><span class="pre">Base64Input</span></code></a></p>
315+
<dd class="field-even"><p><a class="reference internal" href="misc/input.html#mindee.input.Base64Input" title="mindee.input.sources.base_64_input.Base64Input"><code class="xref py py-class docutils literal notranslate"><span class="pre">Base64Input</span></code></a></p>
316316
</dd>
317317
</dl>
318318
</dd></dl>
@@ -331,7 +331,7 @@ <h2>Client<a class="headerlink" href="#client" title="Permalink to this heading"
331331
</ul>
332332
</dd>
333333
<dt class="field-even">Return type<span class="colon">:</span></dt>
334-
<dd class="field-even"><p><a class="reference internal" href="misc/input.html#mindee.input.BytesInput" title="mindee.input.sources.BytesInput"><code class="xref py py-class docutils literal notranslate"><span class="pre">BytesInput</span></code></a></p>
334+
<dd class="field-even"><p><a class="reference internal" href="misc/input.html#mindee.input.BytesInput" title="mindee.input.sources.bytes_input.BytesInput"><code class="xref py py-class docutils literal notranslate"><span class="pre">BytesInput</span></code></a></p>
335335
</dd>
336336
</dl>
337337
</dd></dl>
@@ -349,7 +349,7 @@ <h2>Client<a class="headerlink" href="#client" title="Permalink to this heading"
349349
</ul>
350350
</dd>
351351
<dt class="field-even">Return type<span class="colon">:</span></dt>
352-
<dd class="field-even"><p><a class="reference internal" href="misc/input.html#mindee.input.FileInput" title="mindee.input.sources.FileInput"><code class="xref py py-class docutils literal notranslate"><span class="pre">FileInput</span></code></a></p>
352+
<dd class="field-even"><p><a class="reference internal" href="misc/input.html#mindee.input.FileInput" title="mindee.input.sources.file_input.FileInput"><code class="xref py py-class docutils literal notranslate"><span class="pre">FileInput</span></code></a></p>
353353
</dd>
354354
</dl>
355355
</dd></dl>
@@ -367,7 +367,7 @@ <h2>Client<a class="headerlink" href="#client" title="Permalink to this heading"
367367
</ul>
368368
</dd>
369369
<dt class="field-even">Return type<span class="colon">:</span></dt>
370-
<dd class="field-even"><p><a class="reference internal" href="misc/input.html#mindee.input.PathInput" title="mindee.input.sources.PathInput"><code class="xref py py-class docutils literal notranslate"><span class="pre">PathInput</span></code></a></p>
370+
<dd class="field-even"><p><a class="reference internal" href="misc/input.html#mindee.input.PathInput" title="mindee.input.sources.path_input.PathInput"><code class="xref py py-class docutils literal notranslate"><span class="pre">PathInput</span></code></a></p>
371371
</dd>
372372
</dl>
373373
</dd></dl>
@@ -381,7 +381,7 @@ <h2>Client<a class="headerlink" href="#client" title="Permalink to this heading"
381381
<dd class="field-odd"><p><strong>url</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>) – Raw byte input</p>
382382
</dd>
383383
<dt class="field-even">Return type<span class="colon">:</span></dt>
384-
<dd class="field-even"><p><a class="reference internal" href="misc/input.html#mindee.input.UrlInputSource" title="mindee.input.sources.UrlInputSource"><code class="xref py py-class docutils literal notranslate"><span class="pre">UrlInputSource</span></code></a></p>
384+
<dd class="field-even"><p><a class="reference internal" href="misc/input.html#mindee.input.UrlInputSource" title="mindee.input.sources.url_input_source.UrlInputSource"><code class="xref py py-class docutils literal notranslate"><span class="pre">UrlInputSource</span></code></a></p>
385385
</dd>
386386
</dl>
387387
</dd></dl>

code_samples/workflow_execution.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ from mindee import Client, WorkflowResponse
22
from mindee.parsing.common import ExecutionPriority
33

44
# Init a new client
5-
mindee_client = Client(api_key: "my-api-key")
5+
mindee_client = Client(api_key="my-api-key")
66

77
workflow_id = "workflow-id"
88

0 commit comments

Comments
 (0)