Skip to content

Commit a2b63d8

Browse files
authored
fix: MyPy findings due to a mypy version upgrade were corrected (#1477)
1 parent b349632 commit a2b63d8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

graphene/types/inputobjecttype.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class InputObjectTypeOptions(BaseOptions):
1414
container = None # type: InputObjectTypeContainer
1515

1616

17-
class InputObjectTypeContainer(dict, BaseType):
17+
class InputObjectTypeContainer(dict, BaseType): # type: ignore
1818
class Meta:
1919
abstract = True
2020

graphene/validation/depth_limit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
def depth_limit_validator(
5454
max_depth: int,
5555
ignore: Optional[List[IgnoreType]] = None,
56-
callback: Callable[[Dict[str, int]], None] = None,
56+
callback: Optional[Callable[[Dict[str, int]], None]] = None,
5757
):
5858
class DepthLimitValidator(ValidationRule):
5959
def __init__(self, validation_context: ValidationContext):

0 commit comments

Comments
 (0)