Skip to content

Commit

Permalink
refactor: replace @deprecated decorator with upcoming native support …
Browse files Browse the repository at this point in the history
…(via typing-extensions)
  • Loading branch information
erikwrede committed Sep 29, 2024
1 parent 48678af commit a10e7f1
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 144 deletions.
67 changes: 0 additions & 67 deletions graphene/utils/deprecated.py

This file was deleted.

3 changes: 1 addition & 2 deletions graphene/utils/resolve_only_args.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
from functools import wraps

from .deprecated import deprecated
from typing_extensions import deprecated


@deprecated("This function is deprecated")
Expand Down
75 changes: 0 additions & 75 deletions graphene/utils/tests/test_deprecated.py

This file was deleted.

1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ def run_tests(self):
install_requires=[
"graphql-core>=3.1,<3.3",
"graphql-relay>=3.1,<3.3",
"typing-extensions>=4.1.0,<5"
],
tests_require=tests_require,
extras_require={"test": tests_require, "dev": dev_requires},
Expand Down

0 comments on commit a10e7f1

Please sign in to comment.