PrettyMapping# class brainstate.util.PrettyMapping(mapping, type_name='')[source]# Pretty representation of a mapping. mapping# The mapping to represent. Type: Mapping type_name# Optional type name to display. Type: str, default=’’ Examples >>> m = PrettyMapping({'a': 1, 'b': 2}, type_name='MyDict') >>> print(m) MyDict{ 'a': 1, 'b': 2 }