mirror of
https://github.com/graphql-python/graphene.git
synced 2025-02-02 12:44:15 +03:00
Use last version of graphql-core. Fixed introspection #3
This commit is contained in:
parent
ecc2fa1e6e
commit
fbd9465e57
|
@ -4,6 +4,7 @@ from graphql.core import graphql
|
|||
from graphql.core.type import (
|
||||
GraphQLSchema as _GraphQLSchema
|
||||
)
|
||||
from graphql.core.utils.introspection_query import introspection_query
|
||||
from graphene import signals
|
||||
from graphene.utils import cached_property
|
||||
|
||||
|
@ -71,7 +72,7 @@ class Schema(object):
|
|||
)
|
||||
|
||||
def introspect(self):
|
||||
return self._schema.get_type_map()
|
||||
return self.execute(introspection_query).data
|
||||
|
||||
|
||||
def register_internal_type(fun):
|
||||
|
|
4
setup.py
4
setup.py
|
@ -24,7 +24,7 @@ class PyTest(TestCommand):
|
|||
|
||||
setup(
|
||||
name='graphene',
|
||||
version='0.1.2',
|
||||
version='0.1.3',
|
||||
|
||||
description='Graphene: Python DSL for GraphQL',
|
||||
long_description=open('README.rst').read(),
|
||||
|
@ -56,7 +56,7 @@ setup(
|
|||
install_requires=[
|
||||
'six',
|
||||
'blinker',
|
||||
'graphql-core==0.1a0',
|
||||
'graphql-core==0.1a2',
|
||||
'graphql-relay==0.1.4'
|
||||
],
|
||||
tests_require=[
|
||||
|
|
Loading…
Reference in New Issue
Block a user