mirror of
https://github.com/graphql-python/graphene.git
synced 2024-12-02 06:24:01 +03:00
9 lines
160 B
Python
9 lines
160 B
Python
from functools import wraps
|
|
|
|
|
|
def resolve_only_args(func):
|
|
@wraps(func)
|
|
def inner(self, args, info):
|
|
return func(self, **args)
|
|
return inner
|