Fixing a Type Warning as per #1100

Fixing a Type Warning that resolves #1100 for PyCharm IDE users.
This commit is contained in:
Evan Kanter 2020-11-13 19:09:11 -05:00 committed by GitHub
parent 7d09e5b138
commit f2397091ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,6 @@
import inspect import inspect
from functools import partial from functools import partial
from typing import Type
from graphql import ( from graphql import (
default_type_resolver, default_type_resolver,
@ -516,7 +517,7 @@ class Schema:
def __init__( def __init__(
self, self,
query=None, query: Type[ObjectType]=None,
mutation=None, mutation=None,
subscription=None, subscription=None,
types=None, types=None,