mirror of
https://github.com/graphql-python/graphene.git
synced 2024-11-21 17:16:43 +03:00
fix: MyPy findings due to a mypy version upgrade were corrected
This commit is contained in:
parent
b349632a82
commit
ae19b27a2b
|
@ -14,7 +14,7 @@ class InputObjectTypeOptions(BaseOptions):
|
|||
container = None # type: InputObjectTypeContainer
|
||||
|
||||
|
||||
class InputObjectTypeContainer(dict, BaseType):
|
||||
class InputObjectTypeContainer(dict, BaseType): # type: ignore
|
||||
class Meta:
|
||||
abstract = True
|
||||
|
||||
|
|
|
@ -53,7 +53,7 @@ IgnoreType = Union[Callable[[str], bool], Pattern, str]
|
|||
def depth_limit_validator(
|
||||
max_depth: int,
|
||||
ignore: Optional[List[IgnoreType]] = None,
|
||||
callback: Callable[[Dict[str, int]], None] = None,
|
||||
callback: Optional[Callable[[Dict[str, int]], None]] = None,
|
||||
):
|
||||
class DepthLimitValidator(ValidationRule):
|
||||
def __init__(self, validation_context: ValidationContext):
|
||||
|
|
Loading…
Reference in New Issue
Block a user