From d6188c2417ae2858e0c653ac51ab5dd8c6877348 Mon Sep 17 00:00:00 2001 From: Raymond Ehlers Date: Wed, 25 Dec 2024 11:46:23 -0800 Subject: [PATCH] Typing fixes --- tests/test_yaml.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_yaml.py b/tests/test_yaml.py index 6d9e4f5..aaf1278 100644 --- a/tests/test_yaml.py +++ b/tests/test_yaml.py @@ -45,7 +45,7 @@ def __str__(self) -> str: return str(self.name) to_yaml = classmethod(yaml.enum_to_yaml) - from_yaml: Any = classmethod(yaml.enum_from_yaml) + from_yaml = classmethod(yaml.enum_from_yaml) # type: ignore[var-annotated] yml = yaml.yaml(classes_to_register=[TestEnum]) input_value = TestEnum.a