lass="nf">build_max_alert_spec</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">float</span><span class="p">,</span> <span class="n">severity</span><span class="p">:</span> <span class="n">AlertData</span><span class="o">.</span><span class="n">SeverityLevel</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="n">AlertConditionSpec</span><span class="p">:</span>
<span class="w">    </span><span class="sd">&quot;&quot;&quot;Builds a max A