From 8214f68cdbb0a1a0182589190dfc441028c37469 Mon Sep 17 00:00:00 2001 From: Daejun Park Date: Wed, 18 Sep 2024 16:18:36 -0700 Subject: [PATCH] Update src/halmos/config.py Co-authored-by: karmacoma --- src/halmos/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/halmos/config.py b/src/halmos/config.py index 10a6a5a0..7f79a55f 100644 --- a/src/halmos/config.py +++ b/src/halmos/config.py @@ -551,7 +551,7 @@ def parse_dict(self, parsed: dict, source: str = "halmos.toml") -> dict: # gather custom actions actions = { - field.name: field.metadata.get("action", None) for field in fields(Config) + field.name: field.metadata["action"] for field in fields(Config) if "action" in field.metadata } result = {}