def from_settings

cswap-bend-cli@0.1.0.0 · daemon/config.bend:194

import cswap-bend-cli@0.1.0.0/daemon/config.bend as Config
import Base
import cswap-bend-cli@0.1.0.0/json.bend as Json

194# The lenient load: anything unreadable is the default, numbers are clamped.
195def from_settings(+j: Json.Json) -> Cfg:
196  from_block(autoswitch_block(j))

Uses (4)

Used by (7)