def tail_fields
cswap-bend-cli@0.1.0.0 · view.bend:312
import cswap-bend-cli@0.1.0.0/view.bend as View
import Base
import cswap-bend-cli@0.1.0.0/pollrow.bend as Pollrow
import cswap-bend-cli@0.1.0.0/json.bend as Json
312def tail_fields(row: Pollrow.Row, status: String, usage: Json.Json, +now: U32, +off: U32, j: Json.Json) -> Json.Json:
313 match row:
314 case Pollrow.Row{fetched, lg, la, fl, le, bu, np, iv, l429, st, sfp, cu, hu}:
315 tail.pick(is_obj(usage), fetched, lg, le, bu, String.eq(status, "unavailable"), now, off, j)