hpcflow.sdk.core.utils.list_to_dict#

hpcflow.sdk.core.utils.list_to_dict(lst, exclude=None)#

Convert a list of dicts to a dict of lists.

Parameters:
  • lst (Sequence[Mapping[T, T2]]) –

  • exclude (Iterable[T] | None) –

Return type:

dict[T, list[T2]]