flatten_list

Contents

flatten_list#

autoplex.data.common.utils.flatten_list(input_list)[source]#

Flatten a nested list into a single list if necessary.

Parameters:

input_list (list | list[list]) –

Return type:

list