コード例 #1
0
 def resolve_human(self, info, id):
     return resolver_human(id=id)
コード例 #2
0
 def resolve_human(self, info, id):
     if info.context.user.is_anonymous:
         raise Exception('You are not authenticated!')
     return resolver_human(id=id)