docs: add docstrings and type annotations to `traverse`
docs: add docstrings and type annotations to `traverse`

cpcloud/ibis,cpcloud/ibis,ibis-project/ibis,ibis-project/ibis,cpcloud/ibis,cpcloud/ibis,ibis-project/ibis,ibis-project/ibis