def vs_conditions(): return Transform( valuespec=VSExplicitConditions(rulespec=dummy_rulespec(), render="form_part"), forth=lambda c: RuleConditions("").from_config(c), back=lambda c: c.to_config_with_folder(), )
def vs_conditions(): return Transform( VSExplicitConditions(rulespec=dummy_rulespec(), render="form_part"), forth=lambda c: RuleConditions(**c), back=lambda c: dict(c._asdict()), )