Skip to content

Commit d4bed27

Browse files
authored
Update docs to reflect that collection rel type can be for anything (#1393)
* docs: collection rel type can be for anything * chore: update CHANGELOG
1 parent f1dca45 commit d4bed27

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
- Updated classification extension to v2.0.0 ([#1359](https://github.com/stac-utils/pystac/pull/1359))
1414
- Update docstring of `name` argument to `Classification.apply` and `Classification.create` to agree with extension specification ([#1356](https://github.com/stac-utils/pystac/pull/1356))
1515
- Add example of custom `StacIO` for Azure Blob Storage to docs ([#1372](https://github.com/stac-utils/pystac/pull/1372))
16+
- Noted that collection links can be used in non-item objects in STAC v1.1.0 ([#1393](https://github.com/stac-utils/pystac/pull/1393))
1617

1718
### Fixed
1819

pystac/link.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ def parent(cls: type[L], c: Catalog) -> L:
455455

456456
@classmethod
457457
def collection(cls: type[L], c: Collection) -> L:
458-
"""Creates a link to an item's Collection."""
458+
"""Creates a link to a Collection."""
459459
return cls(pystac.RelType.COLLECTION, c, media_type=pystac.MediaType.JSON)
460460

461461
@classmethod

0 commit comments

Comments
 (0)