Skip to content

Commit

Permalink
fix: MyPy findings due to a mypy version upgrade were corrected (#1477)
Browse files Browse the repository at this point in the history
  • Loading branch information
erikwrede committed Nov 16, 2022
1 parent b349632 commit a2b63d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion graphene/types/inputobjecttype.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion graphene/validation/depth_limit.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
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):
Expand Down

0 comments on commit a2b63d8

Please sign in to comment.