Skip to content

Commit

Permalink
deploy: 1138fa6
Browse files Browse the repository at this point in the history
  • Loading branch information
capital-G committed Sep 20, 2023
1 parent 5c512af commit d116723
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion _modules/gencaster/schema.html
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,7 @@ <h1>Source code for gencaster.schema</h1><div class="highlight"><pre>
<span class="n">AddAudioFile</span><span class="p">,</span>
<span class="n">AudioFile</span><span class="p">,</span>
<span class="n">AudioFileUploadResponse</span><span class="p">,</span>
<span class="n">GraphDeadEnd</span><span class="p">,</span>
<span class="n">InvalidAudioFile</span><span class="p">,</span>
<span class="n">NoStreamAvailable</span><span class="p">,</span>
<span class="n">Stream</span><span class="p">,</span>
Expand Down Expand Up @@ -894,7 +895,8 @@ <h1>Source code for gencaster.schema</h1><div class="highlight"><pre>
<span class="k">yield</span> <span class="n">StreamInfo</span><span class="p">(</span>
<span class="n">stream</span><span class="o">=</span><span class="n">stream</span><span class="p">,</span> <span class="c1"># type: ignore</span>
<span class="n">stream_instruction</span><span class="o">=</span><span class="n">instruction</span><span class="p">,</span> <span class="c1"># type: ignore</span>
<span class="p">)</span></div>
<span class="p">)</span>
<span class="k">yield</span> <span class="n">GraphDeadEnd</span><span class="p">()</span></div>

<span class="nd">@strawberry</span><span class="o">.</span><span class="n">subscription</span>
<span class="k">async</span> <span class="k">def</span> <span class="nf">stream_logs</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">info</span><span class="p">:</span> <span class="n">Info</span><span class="p">,</span> <span class="n">stream_uuid</span><span class="p">:</span> <span class="n">Optional</span><span class="p">[</span><span class="n">uuid</span><span class="o">.</span><span class="n">UUID</span><span class="p">]</span> <span class="o">=</span> <span class="kc">None</span><span class="p">,</span> <span class="n">stream_point_uuid</span><span class="p">:</span> <span class="n">Optional</span><span class="p">[</span><span class="n">uuid</span><span class="o">.</span><span class="n">UUID</span><span class="p">]</span> <span class="o">=</span> <span class="kc">None</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="n">AsyncGenerator</span><span class="p">[</span><span class="n">StreamLog</span><span class="p">,</span> <span class="kc">None</span><span class="p">]:</span> <span class="c1"># type: ignore</span>
Expand Down
2 changes: 1 addition & 1 deletion _modules/story_graph/engine.html
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,7 @@ <h1>Source code for story_graph.engine</h1><div class="highlight"><pre>

<div class="viewcode-block" id="Engine.start"><a class="viewcode-back" href="../../back/api/story_graph.html#story_graph.engine.Engine.start">[docs]</a> <span class="k">async</span> <span class="k">def</span> <span class="nf">start</span><span class="p">(</span>
<span class="bp">self</span><span class="p">,</span> <span class="n">max_steps</span><span class="p">:</span> <span class="nb">int</span> <span class="o">=</span> <span class="mi">1000</span>
<span class="p">)</span> <span class="o">-&gt;</span> <span class="n">AsyncGenerator</span><span class="p">[</span><span class="n">Union</span><span class="p">[</span><span class="n">StreamInstruction</span><span class="p">,</span> <span class="n">Dialog</span><span class="p">],</span> <span class="kc">None</span><span class="p">]:</span>
<span class="p">)</span> <span class="o">-&gt;</span> <span class="n">AsyncGenerator</span><span class="p">[</span><span class="n">Union</span><span class="p">[</span><span class="n">StreamInstruction</span><span class="p">,</span> <span class="n">Dialog</span><span class="p">,</span> <span class="n">GraphDeadEnd</span><span class="p">],</span> <span class="kc">None</span><span class="p">]:</span>
<span class="w"> </span><span class="sd">&quot;&quot;&quot;Starts the execution of the engine.</span>
<span class="sd"> This method is an async generator which eithor yields a</span>
<span class="sd"> :class:`~stream.models.StreamInstruction`</span>
Expand Down
2 changes: 1 addition & 1 deletion back/api/story_graph.html
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ <h3><a class="toc-backref" href="#id12">Engine</a><a class="headerlink" href="#e
</div>
<dl class="field-list simple">
<dt class="field-odd">Return type</dt>
<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/typing.html#typing.AsyncGenerator" title="(in Python v3.11)"><code class="xref py py-class docutils literal notranslate"><span class="pre">AsyncGenerator</span></code></a>[<a class="reference external" href="https://docs.python.org/3/library/typing.html#typing.Union" title="(in Python v3.11)"><code class="xref py py-data docutils literal notranslate"><span class="pre">Union</span></code></a>[<a class="reference internal" href="stream.html#stream.models.StreamInstruction" title="stream.models.StreamInstruction"><code class="xref py py-class docutils literal notranslate"><span class="pre">StreamInstruction</span></code></a>, <a class="reference internal" href="stream.html#stream.frontend_types.Dialog" title="stream.frontend_types.Dialog"><code class="xref py py-class docutils literal notranslate"><span class="pre">Dialog</span></code></a>], <a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.11)"><code class="xref py py-obj docutils literal notranslate"><span class="pre">None</span></code></a>]</p>
<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/typing.html#typing.AsyncGenerator" title="(in Python v3.11)"><code class="xref py py-class docutils literal notranslate"><span class="pre">AsyncGenerator</span></code></a>[<a class="reference external" href="https://docs.python.org/3/library/typing.html#typing.Union" title="(in Python v3.11)"><code class="xref py py-data docutils literal notranslate"><span class="pre">Union</span></code></a>[<a class="reference internal" href="stream.html#stream.models.StreamInstruction" title="stream.models.StreamInstruction"><code class="xref py py-class docutils literal notranslate"><span class="pre">StreamInstruction</span></code></a>, <a class="reference internal" href="stream.html#stream.frontend_types.Dialog" title="stream.frontend_types.Dialog"><code class="xref py py-class docutils literal notranslate"><span class="pre">Dialog</span></code></a>, <a class="reference internal" href="#story_graph.engine.GraphDeadEnd" title="story_graph.engine.GraphDeadEnd"><code class="xref py py-class docutils literal notranslate"><span class="pre">GraphDeadEnd</span></code></a>], <a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.11)"><code class="xref py py-obj docutils literal notranslate"><span class="pre">None</span></code></a>]</p>
</dd>
</dl>
</dd></dl>
Expand Down

0 comments on commit d116723

Please sign in to comment.