Skip to content

Commit

Permalink
Merge 481491d into 86b904d
Browse files Browse the repository at this point in the history
  • Loading branch information
ekampf committed Aug 7, 2020
2 parents 86b904d + 481491d commit 2a1ddbf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion graphene/relay/node.py
Expand Up @@ -99,7 +99,7 @@ def get_node_from_global_id(cls, info, global_id, only_type=None):
)
)

graphene_type = info.schema.get_type(_type)
graphene_type = info.schema.graphql_schema.get_type(_type)
if graphene_type is None:
raise Exception(f'Relay Node "{_type}" not found in schema')

Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Expand Up @@ -8,7 +8,7 @@ deps =
setenv =
PYTHONPATH = .:{envdir}
commands =
py{36,37}: pytest --cov=graphene graphene examples {posargs}
py{36,37,38}: pytest --cov=graphene graphene examples {posargs}

[testenv:pre-commit]
basepython=python3.7
Expand Down

0 comments on commit 2a1ddbf

Please sign in to comment.