Remove logging and leave it up to the user

This commit is contained in:
Andras Schmelczer 2022-07-02 08:26:26 +02:00
parent 2e12947429
commit aa3131dcc1
9 changed files with 78 additions and 142 deletions

View file

@ -16,7 +16,6 @@ def get_config(
input_values: Union[Sequence, Iterable],
chunk_size: Optional[int],
concurrency: Optional[int],
disable_logging: bool,
) -> ParallelMapConfiguration:
is_input_sequence = hasattr(input_values, "__len__")
@ -57,8 +56,4 @@ def get_config(
function_name=function.__name__,
)
if not disable_logging:
logger.info("Parallel map: configured ✅")
config.pretty_print()
return config