oop</span><span class="p">,</span>
                               <span class="n">section</span><span class="o">=</span><span class="n">context</span><span class="p">)</span></div>



<div class="viewcode-block" id="enum">
<a class="viewcode-back" href="../../api/monit.html#labml.monit.enum">[docs]</a>
<span class="k">def</span> <span class="nf">enum</span><span class="p">(</span><span class="n">name</span><span class="p">,</span> <span class="n">iterable</span><span class="p">:</span> <span class="n">Sized