Auto.level_of: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/daemon/auto.bend as Auto Lines 254-262 of cswap-bend-cli@0.1.0.0/daemon/auto.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/daemon/auto.bend&start_line=254&end_line=262 import Base import cswap-bend-cli@0.1.0.0/daemon/cadence.bend as Cad # A blocked tick is a warning, a failed one an error. def level_of(o: Cad.Outcome) -> String: match o: case Cad.Blocked{}: "warn" case Cad.Failed{}: "error" case _: "info" Uses (2): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/daemon/cadence.bend&name=Outcome