mirror of
https://github.com/graphql-python/graphene.git
synced 2025-02-02 20:54:16 +03:00
034b5385a5
* Add isort and seed-isort-config pre-commit hook * Fix erroneous isort moving comment to the top of file
13 lines
256 B
Python
13 lines
256 B
Python
from functools import wraps
|
|
|
|
from .deprecated import deprecated
|
|
|
|
|
|
@deprecated('This function is deprecated')
|
|
def resolve_only_args(func):
|
|
@wraps(func)
|
|
def wrapped_func(root, info, **args):
|
|
return func(root, **args)
|
|
|
|
return wrapped_func
|