Skip to content

Commit

Permalink
deploy: dd11c77
Browse files Browse the repository at this point in the history
  • Loading branch information
brentyi committed Oct 30, 2024
1 parent 95e2297 commit 0ea5743
Show file tree
Hide file tree
Showing 127 changed files with 3,159 additions and 2,140 deletions.
Binary file modified .doctrees/api/tyro/_arguments/index.doctree
Binary file not shown.
Binary file modified .doctrees/api/tyro/_cli/index.doctree
Binary file not shown.
Binary file modified .doctrees/api/tyro/_fields/index.doctree
Binary file not shown.
Binary file removed .doctrees/api/tyro/_instantiators/index.doctree
Binary file not shown.
Binary file modified .doctrees/api/tyro/_strings/index.doctree
Binary file not shown.
Binary file modified .doctrees/api/tyro/_subcommand_matching/index.doctree
Binary file not shown.
Binary file modified .doctrees/api/tyro/conf/_confstruct/index.doctree
Binary file not shown.
Binary file not shown.
Binary file added .doctrees/api/tyro/constructors/index.doctree
Binary file not shown.
Binary file modified .doctrees/api/tyro/extras/index.doctree
Binary file not shown.
Binary file modified .doctrees/api/tyro/index.doctree
Binary file not shown.
Binary file modified .doctrees/environment.pickle
Binary file not shown.
Binary file modified .doctrees/examples/01_basics/05_flags.doctree
Binary file not shown.
Binary file modified .doctrees/examples/02_nesting/01_nesting.doctree
Binary file not shown.
Binary file modified .doctrees/examples/02_nesting/02_subcommands.doctree
Binary file not shown.
Binary file modified .doctrees/examples/02_nesting/03_multiple_subcommands.doctree
Binary file not shown.
Binary file modified .doctrees/examples/02_nesting/05_subcommands_func.doctree
Binary file not shown.
Binary file modified .doctrees/examples/04_additional/01_positional_args.doctree
Binary file not shown.
Binary file modified .doctrees/examples/04_additional/04_classes.doctree
Binary file not shown.
Binary file modified .doctrees/examples/04_additional/12_aliases.doctree
Binary file not shown.
Binary file not shown.
1 change: 1 addition & 0 deletions _modules/functools/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@
<ul>
<li class="toctree-l1 has-children"><a class="reference internal" href="../../api/tyro/"><code class="xref py py-mod docutils literal notranslate"><span class="pre">tyro</span></code></a><input class="toctree-checkbox" id="toctree-checkbox-1" name="toctree-checkbox-1" role="switch" type="checkbox"/><label for="toctree-checkbox-1"><div class="visually-hidden">Toggle navigation of tyro</div><i class="icon"><svg><use href="#svg-arrow-right"></use></svg></i></label><ul>
<li class="toctree-l2"><a class="reference internal" href="../../api/tyro/conf/"><code class="xref py py-mod docutils literal notranslate"><span class="pre">tyro.conf</span></code></a></li>
<li class="toctree-l2"><a class="reference internal" href="../../api/tyro/constructors/"><code class="xref py py-mod docutils literal notranslate"><span class="pre">tyro.constructors</span></code></a></li>
<li class="toctree-l2"><a class="reference internal" href="../../api/tyro/extras/"><code class="xref py py-mod docutils literal notranslate"><span class="pre">tyro.extras</span></code></a></li>
</ul>
</li>
Expand Down
3 changes: 2 additions & 1 deletion _modules/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@
<ul>
<li class="toctree-l1 has-children"><a class="reference internal" href="../api/tyro/"><code class="xref py py-mod docutils literal notranslate"><span class="pre">tyro</span></code></a><input class="toctree-checkbox" id="toctree-checkbox-1" name="toctree-checkbox-1" role="switch" type="checkbox"/><label for="toctree-checkbox-1"><div class="visually-hidden">Toggle navigation of tyro</div><i class="icon"><svg><use href="#svg-arrow-right"></use></svg></i></label><ul>
<li class="toctree-l2"><a class="reference internal" href="../api/tyro/conf/"><code class="xref py py-mod docutils literal notranslate"><span class="pre">tyro.conf</span></code></a></li>
<li class="toctree-l2"><a class="reference internal" href="../api/tyro/constructors/"><code class="xref py py-mod docutils literal notranslate"><span class="pre">tyro.constructors</span></code></a></li>
<li class="toctree-l2"><a class="reference internal" href="../api/tyro/extras/"><code class="xref py py-mod docutils literal notranslate"><span class="pre">tyro.extras</span></code></a></li>
</ul>
</li>
Expand Down Expand Up @@ -276,7 +277,6 @@ <h1>All modules for which code is available</h1>
<li><a href="tyro/_cli/">tyro._cli</a></li>
<li><a href="tyro/_docstrings/">tyro._docstrings</a></li>
<li><a href="tyro/_fields/">tyro._fields</a></li>
<li><a href="tyro/_instantiators/">tyro._instantiators</a></li>
<li><a href="tyro/_parsers/">tyro._parsers</a></li>
<li><a href="tyro/_resolver/">tyro._resolver</a></li>
<li><a href="tyro/_singleton/">tyro._singleton</a></li>
Expand All @@ -285,6 +285,7 @@ <h1>All modules for which code is available</h1>
<li><a href="tyro/_unsafe_cache/">tyro._unsafe_cache</a></li>
<li><a href="tyro/conf/_confstruct/">tyro.conf._confstruct</a></li>
<li><a href="tyro/conf/_markers/">tyro.conf._markers</a></li>
<li><a href="tyro/constructors/_primitive_spec/">tyro.constructors._primitive_spec</a></li>
<li><a href="tyro/extras/_base_configs/">tyro.extras._base_configs</a></li>
<li><a href="tyro/extras/_choices_type/">tyro.extras._choices_type</a></li>
<li><a href="tyro/extras/_serialization/">tyro.extras._serialization</a></li>
Expand Down
1 change: 1 addition & 0 deletions _modules/tyro/_argparse/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@
<ul>
<li class="toctree-l1 has-children"><a class="reference internal" href="../../../api/tyro/"><code class="xref py py-mod docutils literal notranslate"><span class="pre">tyro</span></code></a><input class="toctree-checkbox" id="toctree-checkbox-1" name="toctree-checkbox-1" role="switch" type="checkbox"/><label for="toctree-checkbox-1"><div class="visually-hidden">Toggle navigation of tyro</div><i class="icon"><svg><use href="#svg-arrow-right"></use></svg></i></label><ul>
<li class="toctree-l2"><a class="reference internal" href="../../../api/tyro/conf/"><code class="xref py py-mod docutils literal notranslate"><span class="pre">tyro.conf</span></code></a></li>
<li class="toctree-l2"><a class="reference internal" href="../../../api/tyro/constructors/"><code class="xref py py-mod docutils literal notranslate"><span class="pre">tyro.constructors</span></code></a></li>
<li class="toctree-l2"><a class="reference internal" href="../../../api/tyro/extras/"><code class="xref py py-mod docutils literal notranslate"><span class="pre">tyro.extras</span></code></a></li>
</ul>
</li>
Expand Down
17 changes: 11 additions & 6 deletions _modules/tyro/_argparse_formatter/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@
<ul>
<li class="toctree-l1 has-children"><a class="reference internal" href="../../../api/tyro/"><code class="xref py py-mod docutils literal notranslate"><span class="pre">tyro</span></code></a><input class="toctree-checkbox" id="toctree-checkbox-1" name="toctree-checkbox-1" role="switch" type="checkbox"/><label for="toctree-checkbox-1"><div class="visually-hidden">Toggle navigation of tyro</div><i class="icon"><svg><use href="#svg-arrow-right"></use></svg></i></label><ul>
<li class="toctree-l2"><a class="reference internal" href="../../../api/tyro/conf/"><code class="xref py py-mod docutils literal notranslate"><span class="pre">tyro.conf</span></code></a></li>
<li class="toctree-l2"><a class="reference internal" href="../../../api/tyro/constructors/"><code class="xref py py-mod docutils literal notranslate"><span class="pre">tyro.constructors</span></code></a></li>
<li class="toctree-l2"><a class="reference internal" href="../../../api/tyro/extras/"><code class="xref py py-mod docutils literal notranslate"><span class="pre">tyro.extras</span></code></a></li>
</ul>
</li>
Expand Down Expand Up @@ -1146,9 +1147,11 @@ <h1>Source code for tyro._argparse_formatter</h1><div class="highlight"><pre>
<span class="n">console</span><span class="o">.</span><span class="n">print</span><span class="p">(</span>
<span class="n">Panel</span><span class="p">(</span>
<span class="n">Group</span><span class="p">(</span>
<span class="sa">f</span><span class="s2">&quot;</span><span class="si">{</span><span class="n">message</span><span class="p">[</span><span class="mi">0</span><span class="p">]</span><span class="o">.</span><span class="n">upper</span><span class="p">()</span><span class="w"> </span><span class="o">+</span><span class="w"> </span><span class="n">message</span><span class="p">[</span><span class="mi">1</span><span class="p">:]</span><span class="si">}</span><span class="s2">&quot;</span>
<span class="k">if</span> <span class="nb">len</span><span class="p">(</span><span class="n">message</span><span class="p">)</span> <span class="o">&gt;</span> <span class="mi">0</span>
<span class="k">else</span> <span class="s2">&quot;&quot;</span><span class="p">,</span>
<span class="p">(</span>
<span class="sa">f</span><span class="s2">&quot;</span><span class="si">{</span><span class="n">message</span><span class="p">[</span><span class="mi">0</span><span class="p">]</span><span class="o">.</span><span class="n">upper</span><span class="p">()</span><span class="w"> </span><span class="o">+</span><span class="w"> </span><span class="n">message</span><span class="p">[</span><span class="mi">1</span><span class="p">:]</span><span class="si">}</span><span class="s2">&quot;</span>
<span class="k">if</span> <span class="nb">len</span><span class="p">(</span><span class="n">message</span><span class="p">)</span> <span class="o">&gt;</span> <span class="mi">0</span>
<span class="k">else</span> <span class="s2">&quot;&quot;</span>
<span class="p">),</span>
<span class="o">*</span><span class="n">extra_info</span><span class="p">,</span>
<span class="n">Rule</span><span class="p">(</span><span class="n">style</span><span class="o">=</span><span class="n">Style</span><span class="p">(</span><span class="n">color</span><span class="o">=</span><span class="s2">&quot;red&quot;</span><span class="p">)),</span>
<span class="sa">f</span><span class="s2">&quot;For full helptext, run [bold]</span><span class="si">{</span><span class="bp">self</span><span class="o">.</span><span class="n">prog</span><span class="si">}</span><span class="s2"> --help[/bold]&quot;</span><span class="p">,</span>
Expand Down Expand Up @@ -1644,9 +1647,11 @@ <h1>Source code for tyro._argparse_formatter</h1><div class="highlight"><pre>
<span class="n">new_actions</span><span class="o">.</span><span class="n">append</span><span class="p">(</span>
<span class="n">argparse</span><span class="o">.</span><span class="n">Action</span><span class="p">(</span>
<span class="p">[</span>
<span class="s2">&quot;OPTIONS&quot;</span>
<span class="k">if</span> <span class="nb">len</span><span class="p">(</span><span class="n">prog_parts</span><span class="p">)</span> <span class="o">==</span> <span class="mi">1</span>
<span class="k">else</span> <span class="n">prog_parts</span><span class="p">[</span><span class="o">-</span><span class="mi">1</span><span class="p">]</span><span class="o">.</span><span class="n">upper</span><span class="p">()</span> <span class="o">+</span> <span class="s2">&quot; OPTIONS&quot;</span>
<span class="p">(</span>
<span class="s2">&quot;OPTIONS&quot;</span>
<span class="k">if</span> <span class="nb">len</span><span class="p">(</span><span class="n">prog_parts</span><span class="p">)</span> <span class="o">==</span> <span class="mi">1</span>
<span class="k">else</span> <span class="n">prog_parts</span><span class="p">[</span><span class="o">-</span><span class="mi">1</span><span class="p">]</span><span class="o">.</span><span class="n">upper</span><span class="p">()</span> <span class="o">+</span> <span class="s2">&quot; OPTIONS&quot;</span>
<span class="p">)</span>
<span class="p">],</span>
<span class="n">dest</span><span class="o">=</span><span class="s2">&quot;&quot;</span><span class="p">,</span>
<span class="p">)</span>
Expand Down
Loading

0 comments on commit 0ea5743

Please sign in to comment.