We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1274ae commit d6188c2Copy full SHA for d6188c2
tests/test_yaml.py
@@ -45,7 +45,7 @@ def __str__(self) -> str:
45
return str(self.name)
46
47
to_yaml = classmethod(yaml.enum_to_yaml)
48
- from_yaml: Any = classmethod(yaml.enum_from_yaml)
+ from_yaml = classmethod(yaml.enum_from_yaml) # type: ignore[var-annotated]
49
50
yml = yaml.yaml(classes_to_register=[TestEnum])
51
input_value = TestEnum.a
0 commit comments