Skip to content

Commit

Permalink
docs: collection rel type can be for anything
Browse files Browse the repository at this point in the history
  • Loading branch information
gadomski committed Aug 21, 2024
1 parent e326b41 commit 28352e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pystac/link.py
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ def parent(cls: type[L], c: Catalog) -> L:

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

@classmethod
Expand Down

0 comments on commit 28352e7

Please sign in to comment.