Skip to content

Commit

Permalink
change one file
Browse files Browse the repository at this point in the history
  • Loading branch information
ekneg54 committed Jan 24, 2025
1 parent 5ece5d9 commit ae58d90
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions logprep/processor/calculator/rule.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,7 @@ class CalculatorRule(FieldManagerRule):
class Config(FieldManagerRule.Config):
"""Config for Calculator"""

calc: str = field(
validator=[validators.instance_of(str), validators.min_len(3)],
)
calc = field(validator=[validators.instance_of(str), validators.min_len(3)])
"""The calculation expression. Fields from the event can be used by
surrounding them with :code:`${` and :code:`}`."""
source_fields: list = field(factory=list, init=False, repr=False, eq=False)
Expand Down

0 comments on commit ae58d90

Please sign in to comment.