def eligible

cswap-bend-cli@0.1.0.0 · daemon/plan.bend:26

import cswap-bend-cli@0.1.0.0/daemon/plan.bend as Plan
import Base
import cswap-bend-cli@0.1.0.0/daemon/gather.bend as G

26# A candidate can be fetched: not disabled/quarantined/unswitchable.
27def eligible(+e: G.Ent) -> Bool:
28  match e:
29    case G.Ent{s, em, o, c, a}:
30      Bool.not(acct_disabled(a))

Uses (4)

Used by (4)