mirror of
https://github.com/graphql-python/graphene.git
synced 2024-11-29 21:13:58 +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 |