From 39e055df118c41bc3b4357e5f6e7e3890e28645c Mon Sep 17 00:00:00 2001 From: "MoessnerFabian(Group)" Date: Thu, 19 Dec 2024 13:28:33 +0100 Subject: [PATCH] Black formatting 2. --- logprep/filter/lucene_filter.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/logprep/filter/lucene_filter.py b/logprep/filter/lucene_filter.py index 2254c24a2..e8077f6f1 100644 --- a/logprep/filter/lucene_filter.py +++ b/logprep/filter/lucene_filter.py @@ -343,7 +343,6 @@ def _check_key_and_modifier(key, value): return RegExFilterExpression(key[:-1] + key_and_modifier[:-1], value) return None - def _get_filter_expression( self, key: List[str], value ) -> Union[RegExFilterExpression, StringFilterExpression]: @@ -368,7 +367,7 @@ def _get_filter_expression( return StringFilterExpression(key, value) def _get_filter_expression_regex( - self, key: List[str], value + self, key: List[str], value ) -> Union[RegExFilterExpression, StringFilterExpression]: key_and_modifier_check = LuceneTransformer._check_key_and_modifier(key, value) @@ -378,7 +377,6 @@ def _get_filter_expression_regex( value = value.strip("/") return RegExFilterExpression(key, value) - @staticmethod def _create_value_expression(word: luqum.tree) -> Union[Exists, Always]: value = word.value.replace("\\", "")