mirror of
https://github.com/graphql-python/graphene.git
synced 2025-07-18 03:52:24 +03:00
Fixed Python 3.8 integration
This commit is contained in:
parent
9b28a7f182
commit
2b3356fd98
|
@ -3,6 +3,9 @@ from .field import Field
|
|||
from .interface import Interface
|
||||
from .utils import yank_fields_from_attrs
|
||||
|
||||
try:
|
||||
from dataclasses import make_dataclass, field
|
||||
except ImportError:
|
||||
from ..pyutils.dataclasses import make_dataclass, field
|
||||
|
||||
# For static type checking with Mypy
|
||||
|
|
Loading…
Reference in New Issue
Block a user