mirror of
https://github.com/graphql-python/graphene.git
synced 2025-07-22 13:59:51 +03:00
Fixing a Type Warning as per #1100
Fixing a Type Warning that resolves #1100 for PyCharm IDE users.
This commit is contained in:
parent
7d09e5b138
commit
f2397091ad
|
@ -1,5 +1,6 @@
|
|||
import inspect
|
||||
from functools import partial
|
||||
from typing import Type
|
||||
|
||||
from graphql import (
|
||||
default_type_resolver,
|
||||
|
@ -516,7 +517,7 @@ class Schema:
|
|||
|
||||
def __init__(
|
||||
self,
|
||||
query=None,
|
||||
query: Type[ObjectType]=None,
|
||||
mutation=None,
|
||||
subscription=None,
|
||||
types=None,
|
||||
|
|
Loading…
Reference in New Issue
Block a user