def update

cswap-bend-cli@0.1.0.0 · profile.bend:402

import cswap-bend-cli@0.1.0.0/profile.bend as Profile
import Base

402# `profile set NAME KEY VALUE` on `p`.
403def update(+p: Prof, +key: String, +raw: String) -> Upd:
404  upd.key(String.eq(key, "strategy"), String.eq(key, "threshold"), String.eq(key, "models"), String.eq(key, "cooldown_s"), String.eq(key, "interval_s"), key, p, raw)

Uses (5)

Used by (2)