Skip to content

Commit

Permalink
Deploying to gh-pages from @ 0f8b50a 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
fbraem committed Sep 2, 2023
1 parent 3b17f83 commit 9c35c0b
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion kwai-backend/reference/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3184,7 +3184,7 @@ <h6 id="kwai.api.v1.trainings.endpoints" class="doc doc-heading">


<h8 id="kwai.api.v1.trainings.endpoints.trainings.create_training" class="doc doc-heading">
<code class="codehilite language-python"><span class="n">create_training</span><span class="p">(</span><span class="n">training</span><span class="p">,</span> <span class="n">db</span><span class="o">=</span><span class="n">deps</span><span class="o">.</span><span class="n">depends</span><span class="p">(</span><span class="n">Database</span><span class="p">),</span> <span class="n">user</span><span class="o">=</span><span class="n">Depends</span><span class="p">(</span><span class="n">get_current_user</span><span class="p">))</span></code>
<code class="codehilite language-python"><span class="n">create_training</span><span class="p">(</span><span class="n">resource</span><span class="p">,</span> <span class="n">db</span><span class="o">=</span><span class="n">deps</span><span class="o">.</span><span class="n">depends</span><span class="p">(</span><span class="n">Database</span><span class="p">),</span> <span class="n">user</span><span class="o">=</span><span class="n">Depends</span><span class="p">(</span><span class="n">get_current_user</span><span class="p">))</span></code>

<span class="doc doc-labels">
<small class="doc doc-label doc-label-async"><code>async</code></small>
Expand Down Expand Up @@ -3248,6 +3248,29 @@ <h6 id="kwai.api.v1.trainings.endpoints" class="doc doc-heading">
</div>


<div class="doc doc-object doc-function">



<h8 id="kwai.api.v1.trainings.endpoints.trainings.update_training" class="doc doc-heading">
<code class="codehilite language-python"><span class="n">update_training</span><span class="p">(</span><span class="n">training_id</span><span class="p">,</span> <span class="n">resource</span><span class="p">,</span> <span class="n">db</span><span class="o">=</span><span class="n">deps</span><span class="o">.</span><span class="n">depends</span><span class="p">(</span><span class="n">Database</span><span class="p">),</span> <span class="n">user</span><span class="o">=</span><span class="n">Depends</span><span class="p">(</span><span class="n">get_current_user</span><span class="p">))</span></code>

<span class="doc doc-labels">
<small class="doc doc-label doc-label-async"><code>async</code></small>
</span>

<a href="#kwai.api.v1.trainings.endpoints.trainings.update_training" class="headerlink" title="Permanent link">&para;</a></h8>


<div class="doc doc-contents ">

<p>Update a training.</p>

</div>

</div>



</div>

Expand Down
Binary file modified objects.inv
Binary file not shown.
Binary file modified sitemap.xml.gz
Binary file not shown.

0 comments on commit 9c35c0b

Please sign in to comment.