Skip to content

Commit

Permalink
Bump mypy from 1.4.1 to 1.5.1 (#3043)
Browse files Browse the repository at this point in the history
* Bump mypy from 1.4.1 to 1.5.1

Bumps [mypy](https://github.com/python/mypy) from 1.4.1 to 1.5.1.
- [Commits](python/mypy@v1.4.1...v1.5.1)

---
updated-dependencies:
- dependency-name: mypy
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Fix type

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Patrick Arminio <[email protected]>
  • Loading branch information
dependabot[bot] and patrick91 authored Sep 19, 2023
1 parent d772ed0 commit eee84a3
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 32 deletions.
60 changes: 30 additions & 30 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ types-typed-ast = "^1.5.8"
types-ujson = "^5.6.0"
# added this here manually because poetry doesn't seem to be able to handle it =(
botocore = "1.31.18"
mypy = "1.4.1"
mypy = "1.5.1"
pytest-mypy-plugins = ">=1.10,<4.0"
types-protobuf = "^4.23.0.1"

Expand Down
2 changes: 1 addition & 1 deletion strawberry/types/execution.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class ExecutionContext:
errors: Optional[List[GraphQLError]] = None
result: Optional[GraphQLExecutionResult] = None

def __post_init__(self, provided_operation_name: str):
def __post_init__(self, provided_operation_name: str | None):
self._provided_operation_name = provided_operation_name

@property
Expand Down

0 comments on commit eee84a3

Please sign in to comment.