标签: django graphql
我实际上想覆盖Verify中的默认django-graphql-jwt类
Verify
django-graphql-jwt
https://github.com/flavors/django-graphql-jwt/blob/9879f29a2a9de421b11e6bf04f9c55b2f2d97dd7/graphql_jwt/mutations.py#L43
我尝试了这段代码,但是它不起作用
class Verify(graphql_jwt.Verify): @classmethod def mutate(cls, root, info, token, **kwargs): # my code here return super(Verify, cls).mutate()