Skip to content

Commit

Permalink
deploy: bb20982
Browse files Browse the repository at this point in the history
  • Loading branch information
brentyi committed Sep 6, 2023
1 parent 8d1bfe4 commit 6f31505
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Binary file modified .doctrees/environment.pickle
Binary file not shown.
5 changes: 5 additions & 0 deletions _modules/tyro/_fields/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -744,6 +744,11 @@ <h1>Source code for tyro._fields</h1><div class="highlight"><pre>
<span class="n">FieldDefinition</span><span class="o">.</span><span class="n">make</span><span class="p">(</span>
<span class="n">name</span><span class="o">=</span><span class="n">name</span><span class="p">,</span>
<span class="n">typ</span><span class="o">=</span><span class="n">pd_field</span><span class="o">.</span><span class="n">annotation</span><span class="p">,</span>
<span class="n">markers</span><span class="o">=</span><span class="nb">tuple</span><span class="p">(</span>
<span class="n">meta</span>
<span class="k">for</span> <span class="n">meta</span> <span class="ow">in</span> <span class="n">pd_field</span><span class="o">.</span><span class="n">metadata</span>
<span class="k">if</span> <span class="nb">isinstance</span><span class="p">(</span><span class="n">meta</span><span class="p">,</span> <span class="n">_markers</span><span class="o">.</span><span class="n">_Marker</span><span class="p">)</span>
<span class="p">),</span>
<span class="n">default</span><span class="o">=</span><span class="p">(</span>
<span class="n">MISSING_NONPROP</span>
<span class="k">if</span> <span class="n">pd_field</span><span class="o">.</span><span class="n">is_required</span><span class="p">()</span>
Expand Down

0 comments on commit 6f31505

Please sign in to comment.