Skip to content
Snippets Groups Projects
Commit 8b031ce9 authored by Amir MOHAMMADI's avatar Amir MOHAMMADI
Browse files

remove extra paranthesis

parent 7c2bc523
No related branches found
No related tags found
1 merge request!102Add sequential and parallel processors, pre-processors, and extractors
Pipeline #
......@@ -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__(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment