Skip to content

Commit

Permalink
Typing fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
raymondEhlers committed Dec 25, 2024
1 parent c1274ae commit d6188c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_yaml.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d6188c2

Please sign in to comment.