 class="n">tmp_dir</span><span class="p">)</span>
        <span class="n">out_name</span> <span class="o">=</span> <span class="n">name</span> <span class="k">if</span> <span class="n">name</span> <span class="k">else</span> <span class="n">hash_</span><span class="p">(</span><span class="n">query</span><span class="p">)</span>
        <span class="n">out_file</span> <span class="o">=</span> <span class="n">out_folder</span> <span class="o">/</span> <span class="s2">&quot;</span><span class="si">{}</span><s