warg.functions.mappings_agreement_reduce

warg.functions.mappings_agreement_reduce(m1: Mapping[Any, Any], m2: Mapping[Any, Any]) Mapping[Any, Any][source]

takes two mappings and reduces it to one mapping, if the agree or one of them is None take one or the other. if they disagree the resulting value is None.

Parameters:
  • m1 – A mapping

  • m2 – Another mapping

Returns:

a single mapping