description

hrepr(obj, max_depth=1)

obj

{'apple': [1, [[2]]], 'banana': [7, (8, 9)], 'cherry': {<class 'str'>: 'fire', <class 'int'>: 'forest', <class 'tests.test_hrepr.Point'>: Point(x=3, y=4)}}

result

{
apple:
[
...
]
banana:
[
...
]
cherry:
{
...
}
}