Skip to content

Commit 149ca1a

Browse files
committed
deploy: 2c62285
1 parent 5891c94 commit 149ca1a

9 files changed

Lines changed: 2388 additions & 35 deletions

File tree

_sources/metafold.rst.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,13 @@ metafold.jobs module
3232
:members:
3333
:show-inheritance:
3434

35+
metafold.workflows module
36+
--------------------
37+
38+
.. automodule:: metafold.workflows
39+
:members:
40+
:show-inheritance:
41+
3542
metafold.client module
3643
----------------------
3744

genindex.html

Lines changed: 572 additions & 5 deletions
Large diffs are not rendered by default.

index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ <h2>Installation<a class="headerlink" href="#installation" title="Link to this h
8181
</section>
8282
<section id="quickstart">
8383
<h2>Quickstart<a class="headerlink" href="#quickstart" title="Link to this heading"></a></h2>
84-
<p>Create a <code class="xref py py-class docutils literal notranslate"><span class="pre">metafold.MetafoldClient</span></code> to interact with the API. To do so you will
84+
<p>Create a <a class="reference internal" href="metafold.html#metafold.MetafoldClient" title="metafold.MetafoldClient"><code class="xref py py-class docutils literal notranslate"><span class="pre">metafold.MetafoldClient</span></code></a> to interact with the API. To do so you will
8585
need <a class="reference internal" href="init.html"><span class="doc">an access token and the ID of a project</span></a> to perform operations
8686
against.</p>
8787
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="kn">from</span><span class="w"> </span><span class="nn">metafold</span><span class="w"> </span><span class="kn">import</span> <span class="n">MetafoldClient</span>
@@ -137,7 +137,7 @@ <h2>Quickstart<a class="headerlink" href="#quickstart" title="Link to this headi
137137
</pre></div>
138138
</div>
139139
<p>Jobs are expected to complete within minutes (with some exceptions). You may increase
140-
the <code class="docutils literal notranslate"><span class="pre">timeout</span></code> when calling <code class="xref py py-meth docutils literal notranslate"><span class="pre">metafold.jobs.JobsEndpoint.run()</span></code>:</p>
140+
the <code class="docutils literal notranslate"><span class="pre">timeout</span></code> when calling <a class="reference internal" href="metafold.html#metafold.jobs.JobsEndpoint.run" title="metafold.jobs.JobsEndpoint.run"><code class="xref py py-meth docutils literal notranslate"><span class="pre">metafold.jobs.JobsEndpoint.run()</span></code></a>:</p>
141141
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">job</span> <span class="o">=</span> <span class="n">metafold</span><span class="o">.</span><span class="n">jobs</span><span class="o">.</span><span class="n">run</span><span class="p">(</span><span class="s2">&quot;...&quot;</span><span class="p">,</span> <span class="n">params</span><span class="p">,</span> <span class="n">timeout</span><span class="o">=</span><span class="mi">600</span><span class="p">)</span> <span class="c1"># 10 mins</span>
142142
</pre></div>
143143
</div>
@@ -167,7 +167,7 @@ <h2>Quickstart<a class="headerlink" href="#quickstart" title="Link to this headi
167167
</pre></div>
168168
</div>
169169
<p>Most jobs produce at least one asset. You may access them from the returned
170-
<code class="xref py py-class docutils literal notranslate"><span class="pre">metafold.jobs.Job</span></code> object:</p>
170+
<a class="reference internal" href="metafold.html#metafold.jobs.Job" title="metafold.jobs.Job"><code class="xref py py-class docutils literal notranslate"><span class="pre">metafold.jobs.Job</span></code></a> object:</p>
171171
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="nb">print</span><span class="p">(</span><span class="n">job</span><span class="o">.</span><span class="n">assets</span><span class="p">[</span><span class="mi">0</span><span class="p">])</span>
172172
</pre></div>
173173
</div>

init.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ <h2>Project ID<a class="headerlink" href="#project-id" title="Link to this headi
100100
<section id="initialization">
101101
<h2>Initialization<a class="headerlink" href="#initialization" title="Link to this heading"></a></h2>
102102
<p>With an access token and project ID you can now initialize the
103-
<code class="xref py py-class docutils literal notranslate"><span class="pre">metafold.MetafoldClient</span></code> and begin making API calls!</p>
103+
<a class="reference internal" href="metafold.html#metafold.MetafoldClient" title="metafold.MetafoldClient"><code class="xref py py-class docutils literal notranslate"><span class="pre">metafold.MetafoldClient</span></code></a> and begin making API calls!</p>
104104
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="kn">from</span><span class="w"> </span><span class="nn">metafold</span><span class="w"> </span><span class="kn">import</span> <span class="n">MetafoldClient</span>
105105

106106
<span class="n">access_token</span> <span class="o">=</span> <span class="s2">&quot;...&quot;</span>

0 commit comments

Comments
 (0)