<span class="n">val</span> <span class="ow">in</span> <span class="n">ps</span><span class="o">.</span><span class="n">as_dict</span><span class="p">()</span><span class="o">.</span><span class="n">items</span><span class="p">():</span>
 
        <span class="c1"># If val is None, don&#39;t include</span>
        <span class="k">if</span> <span class="n">val</span> <span class="ow">is</span> <span class="kc">None</span><span class="p">:</span>
            <span class="n">bot</span><span class="o">.</span><s