def Status.of_active
import bend-kit-migrate@0.3.0.0/migrate.bend as Migrateimport Base
67# v1 had no pause: an inactive v1 subscription is cancelled.
68def Status.of_active(a: Bool) -> Status:
69 match a:
70 case True{}:
71 Active{}
72 case False{}:
73 Cancelled{}