pan class="p">)</span>

    <span class="n">custom_node</span><span class="o">.</span><span class="n">set_placement_strategy</span><span class="p">(</span><span class="n">placement_strategy</span><span class="p">)</span>

    <span class="k">return</span> <span class="bp">self</span><span class="o">.</span><span class="n">quokka_context</span><span class="o">.</span><span class="n">new_stream</span><span class="p">(</span>
        <span class="n">sources</span><span class="o">=</span><span class="p">{</span