标签:src 语句 定义 http rom python hql resolve 查询语句
from graphene.types.generic import GenericScalar
# 定义一个查询语句
class Query(ObjectType):
generic = GenericScalar()
def resolve_generic(self, info):
return {
"a":1
}
标签:src 语句 定义 http rom python hql resolve 查询语句
原文地址:https://www.cnblogs.com/qinghuaL/p/13047463.html