pan class="s2">&quot;flags&quot;</span><span class="p">])</span>
        <span class="n">all_dict</span><span class="o">.</span><span class="n">pop</span><span class="p">(</span><span class="s2">&quot;_start_index&quot;</span><span class="p">)</span>  <span class="c1"># remove unnecessary cruft</span>

        <span class="k">return</span> <span class="bp">cls</span><span class="o">.</span><span class="n">from_dict</span><span class="p">(</span><span class="n">all_dict</span><span class="p">)</span></div>

