Files
zenml/venv/lib/python3.9/site-packages/graphene/utils/resolve_only_args.py
Christian Mantha 2ca0b9ef7c star
2026-03-02 19:10:52 -05:00

12 lines
261 B
Python

from functools import wraps
from typing_extensions 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