Profswitch.pcfg_for: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/profswitch.bend as Profswitch Lines 81-82 of cswap-bend-cli@0.1.0.0/profswitch.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/profswitch.bend&start_line=81&end_line=82 import Base import cswap-bend-cli@0.1.0.0/json.bend as Json import cswap-bend-cli@0.1.0.0/profile.bend as P import cswap-bend-cli@0.1.0.0/policy/types.bend as T import cswap-bend-cli@0.1.0.0/daemon/config.bend as Cfg import cswap-bend-cli@0.1.0.0/daemon/view.bend as V def pcfg_for(+p: P.Prof, +raw: Json.Json) -> T.Config: V.pol_cfg(P.with_prof(Cfg.from_settings(raw), p)) Uses (6): https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/daemon/config.bend&name=from_settings https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/daemon/view.bend&name=pol_cfg https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/json.bend&name=Json https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/policy/types.bend&name=Config https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/profile.bend&name=Prof https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/profile.bend&name=with_prof