Skip to content

Commit

Permalink
feat: Add support for decorator from typing_extensions package
Browse files Browse the repository at this point in the history
PR-3: #3
  • Loading branch information
maxnoller authored Nov 3, 2024
1 parent f21923b commit 7a5eb7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/griffe_warnings_deprecated/extension.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
self_namespace = "griffe_warnings_deprecated"
mkdocstrings_namespace = "mkdocstrings"

_decorators = {"warnings.deprecated"}
_decorators = {"warnings.deprecated", "typing_extensions.deprecated"}


def _deprecated(obj: Class | Function) -> str | None:
Expand Down

0 comments on commit 7a5eb7c

Please sign in to comment.