">        &quot;&quot;&quot;</span>
        <span class="k">return</span> <span class="nb">dict</span><span class="p">(</span><span class="bp">self</span><span class="p">)</span></div></div>


<span class="k">def</span> <span class="nf">_get_subdict</span><span class="p">(</span><span class="n">master_dict</span><span class="p">,</span> <span class="n">subkeys</span><span class="p">):</span>
    <span class="sd">&quot;&quot;&quot;Helper method to get a set of keys from a larger dictionary&quot;&quot;&quot;<