Commit 8b031ce9 authored by Amir MOHAMMADI's avatar Amir MOHAMMADI
Browse files

remove extra paranthesis

parent 7c2bc523
Pipeline #13284 passed with stages
in 20 minutes and 18 seconds
......@@ -8,7 +8,7 @@ class MultipleExtractor(Extractor):
not meant to be used directly."""
def get_attributes(self, processors):
requires_training = any((p.requires_training for p in processors))
requires_training = any(p.requires_training for p in processors)
split_training_data_by_client = any(p.split_training_data_by_client for p
in processors)
min_extractor_file_size = min(p.min_extractor_file_size for p in
......
......@@ -26,8 +26,8 @@ class ParallelPreprocessor(ParallelProcessor, Preprocessor):
__doc__ = ParallelProcessor.__doc__
def __init__(self, processors, **kwargs):
min_preprocessed_file_size = min((p.min_preprocessed_file_size for p in
processors))
min_preprocessed_file_size = min(p.min_preprocessed_file_size for p in
processors)
ParallelProcessor.__init__(self, processors)
Preprocessor.__init__(
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment