="k">def</span> <span class="nf">remove_association</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">item</span><span class="p">,</span> <span class="n">key</span><span class="p">):</span>
        <span class="c">#text_time = str(item.created)</span>
        <span class="c">#text_time = item.created.strftime(time_format)</span>
        <span class="k">if</span> <span class="bp">self</span><span class="o">.</span><span class="n">key_has_item</span><span class