stac-utils / pystac

Python library for working with any SpatioTemporal Asset Catalog (STAC)

Home Page:https://pystac.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deprecation notice in docs for Catalog.get_all_items() includes extra parentheses

tylere opened this issue · comments

In the pystac docs the docs for Catalog.get_all_items() have an extra set of parentheses in the deprecation notice.

Screenshot 2024-03-06 at 2 46 30 PM

The docstring for the method looks ok though, so I am not sure what is going on...

Use :meth:`pystac.Catalog.get_items(recursive=True)` instead.

Thanks for reporting! My bet is that :meth: is doing something sneaky and adding the parens