Skip to content

Commit

Permalink
refactor: Reuse th constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
Sarrabah committed Jul 25, 2024
1 parent d96235c commit a5d34c9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/frformat/enum_format.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ class EnumFormat(CustomStrFormat):
May preprocess the input and valid values according to given "options"."""

def __init__(self, options: Optional[Options] = None):
super().__init__()
self._options = options if options is not None else Options()
_normalized_extra_values = {
normalize_value(e, self._options)
Expand Down

0 comments on commit a5d34c9

Please sign in to comment.