def METHOD_NAME():
    template = "event@properties"
    dot = DotAccessor(event={"properties": [1, 2], "traits": {"$c": 10}}, session={"b": 2})
    t = DictTraverser(dot)
    result = t.reshape(reshape_template=template)
    assert result == [1, 2]
    template = "event@traits"
    dot = DotAccessor(event={"properties": [1, 2], "traits": {"$c": 10}}, session={"b": 2})
    t = DictTraverser(dot)
    result = t.reshape(reshape_template=template)
    assert result == {"$c": 10}