mirror of
https://github.com/graphql-python/graphene.git
synced 2025-07-22 13:59:51 +03:00
Fix type declaration for Python 2
This commit is contained in:
parent
187e3ba805
commit
913be98dec
|
@ -11,7 +11,7 @@ class BaseGlobalIDType:
|
|||
Base class that define the required attributes/method for a type.
|
||||
"""
|
||||
|
||||
graphene_type: Type[BaseType] = ID
|
||||
graphene_type = ID # type: Type[BaseType]
|
||||
|
||||
@classmethod
|
||||
def resolve_global_id(cls, info, global_id):
|
||||
|
|
Loading…
Reference in New Issue
Block a user