Skip to content

Commit 28352e7

Browse files
committed
docs: collection rel type can be for anything
1 parent e326b41 commit 28352e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: pystac/link.py

+1-1
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)