我开始在GraphQL上工作,因为我来自Python背景,所以我在python中使用GraphQL。我遵循了这里提供的步骤,,但是我仍然面临着问题。occurred while resolving field Query.hello File "/usr/local/lib/python3.5(resolve_fn, source, info, **args)
python石墨烯文档没有提到任何关于graphQL错误的内容。在什么情况下它是有用的,它比简单的raise Exception('Authenication Failure : User is not registered')有什么优势吗?我做了功课,在它的构造函数里找到了这个, def __init__( message, # type: str
nodes=None, # type: Any