mirror of
https://github.com/graphql-python/graphene.git
synced 2025-07-16 19:12:21 +03:00
remove polyfill for dataclasses
This commit is contained in:
parent
5fb7b54377
commit
03497d1f29
File diff suppressed because it is too large
Load Diff
|
@ -5,10 +5,7 @@ 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 # type: ignore
|
||||
# For static type checking with type checker
|
||||
if TYPE_CHECKING:
|
||||
from typing import Dict, Iterable, Type # NOQA
|
||||
|
|
Loading…
Reference in New Issue
Block a user