ss="viewcode-block" id="DataNodes.set_probability"><a class="viewcode-back" href="../../datanodes.html#smart_choice.datanodes.DataNodes.set_probability">[docs]</a>    <span class="k">def</span> <span class="nf">set_probability</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">probability</span><span class="p">,</span> <span class="o">**</span><span class="n">conditions</span><span class="p">):</span>
        <span class="sd">&quot;&quot;&quot;Creates a depend