| 
25 | 25 | from pystac.extensions.hooks import ExtensionHooks  | 
26 | 26 | from pystac.utils import StringEnum, get_required, map_opt  | 
27 | 27 | 
 
  | 
28 |  | -#: Generalized version of :class:`~pystac.Item`, :class:`~pystac.Asset` or  | 
29 |  | -#: :class:`~pystac.ItemAssetDefinition`  | 
 | 28 | +#: Generalized version of :class:`~pystac.Item`, :class:`~pystac.Catalog` or  | 
 | 29 | +#: :class:`~pystac.Collection`  | 
30 | 30 | T = TypeVar("T", pystac.Item, pystac.Catalog, pystac.Collection)  | 
 | 31 | +#: Generalized version of :class:`~pystac.Asset`, :class:`~pystac.Link` or  | 
 | 32 | +#: :class:`~pystac.ItemAssetDefinition`  | 
31 | 33 | U = TypeVar("U", pystac.Asset, pystac.Link, pystac.ItemAssetDefinition)  | 
32 | 34 | 
 
  | 
33 | 35 | SCHEMA_URI: str = "https://stac-extensions.github.io/storage/v2.0.0/schema.json"  | 
@@ -109,9 +111,9 @@ def create(  | 
109 | 111 |             type (str): Type identifier for the platform.  | 
110 | 112 |             platform (str): The cloud provider where data is stored as URI or URI  | 
111 | 113 |                 template to the API.  | 
112 |  | -            region (str | None, optional): The region where the data is stored.  | 
 | 114 | +            region (str | None): The region where the data is stored.  | 
113 | 115 |                 Defaults to None.  | 
114 |  | -            requester_pays (bool | None, optional): requester pays or data manager/cloud  | 
 | 116 | +            requester_pays (bool | None): requester pays or data manager/cloud  | 
115 | 117 |                 provider pays. Defaults to None.  | 
116 | 118 |             kwargs (dict[str | Any]): Additional properties to set on scheme  | 
117 | 119 | 
  | 
@@ -216,13 +218,13 @@ class StorageSchemesExtension(  | 
216 | 218 |     This class is generic over the type of STAC Object to be extended (e.g.  | 
217 | 219 |     :class:`~pystac.Item`, :class:`~pystac.Collection`).  | 
218 | 220 | 
  | 
219 |  | -    To create a concrete instance of :class:`StorageExtension`, use the  | 
220 |  | -    :meth:`StorageExtension.ext` method. For example:  | 
 | 221 | +    To create a concrete instance of :class:`StorageSchemesExtension`, use the  | 
 | 222 | +    :meth:`StorageSchemesExtension.ext` method. For example:  | 
221 | 223 | 
  | 
222 | 224 |     .. code-block:: python  | 
223 | 225 | 
  | 
224 | 226 |        >>> item: pystac.Item = ...  | 
225 |  | -       >>> storage_ext = StorageExtension.ext(item)  | 
 | 227 | +       >>> storage_ext = StorageSchemesExtension.ext(item)  | 
226 | 228 |     """  | 
227 | 229 | 
 
  | 
228 | 230 |     def apply(  | 
@@ -472,7 +474,7 @@ class SummariesStorageExtension(SummariesExtension):  | 
472 | 474 | 
 
  | 
473 | 475 |     @property  | 
474 | 476 |     def schemes(self) -> list[dict[str, StorageScheme]] | None:  | 
475 |  | -        """Get or sets the summary of :attr:`StorageExtension.platform` values  | 
 | 477 | +        """Get or sets the summary of :attr:`StorageScheme.platform` values  | 
476 | 478 |         for this Collection.  | 
477 | 479 |         """  | 
478 | 480 |         v = map_opt(  | 
 | 
0 commit comments