"DataNodes.add_chance"><a class="viewcode-back" href="../../datanodes.html#smart_choice.datanodes.DataNodes.add_chance">[docs]</a>    <span class="k">def</span> <span class="nf">add_chance</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">name</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">branches</span><span class="p">:</span> <span class="n">List</span><span class="p">[</span><span class="nb">tuple</span>