Walk
rustac.walk
walk(
container: dict[str, Any], store: AnyObjectStore | None = None
) -> AsyncIterator[
tuple[dict[str, Any], list[dict[str, Any]], list[dict[str, Any]]]
]
Recursively walks a STAC catalog or collection breadth-first.
Parameters:
-
container(dict[str, Any]) –A STAC catalog or collection.
-
store(AnyObjectStore | None, default:None) –An optional ObjectStore to use when reading the container's children and items. If not provided, one will be inferred from each link's href.
Yields:
-
AsyncIterator[tuple[dict[str, Any], list[dict[str, Any]], list[dict[str, Any]]]]–A three-tuple of the container, its children, and its items.
Examples: