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