mirror of
https://github.com/graphql-python/graphene.git
synced 2024-11-25 11:03:58 +03:00
fix: MyPy findings due to a mypy version upgrade were corrected (#1477)
This commit is contained in:
parent
b349632a82
commit
a2b63d8d84
|
@ -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