Skip to content

Commit

Permalink
Merge branch 'main' into issues/1249-deprecate-label
Browse files Browse the repository at this point in the history
  • Loading branch information
gadomski authored Oct 19, 2023
2 parents 7e2a8e1 + b40f3be commit 00b8f1e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pystac/extensions/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def validate_owner_has_extension(
``None``.
"""
warnings.warn(
"ensure_owner_has_extension is deprecated and will be removed in v1.9. "
"ensure_owner_has_extension is deprecated. "
"Use ensure_owner_has_extension instead",
DeprecationWarning,
)
Expand Down Expand Up @@ -234,8 +234,7 @@ def validate_has_extension(cls, obj: S, add_if_missing: bool = False) -> None:
not already present. Defaults to False.
"""
warnings.warn(
"validate_has_extension is deprecated and will be removed in v1.9. "
"Use ensure_has_extension instead",
"validate_has_extension is deprecated. Use ensure_has_extension instead",
DeprecationWarning,
)

Expand Down

0 comments on commit 00b8f1e

Please sign in to comment.