Skip to content

Commit 44540f3

Browse files
committed
Update mypy and some other dependencies
1 parent a2dc914 commit 44540f3

File tree

6 files changed

+65
-80
lines changed

6 files changed

+65
-80
lines changed

poetry.lock

Lines changed: 59 additions & 73 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ black = [
5757
{version = "20.8b1", python = "<3.6.2"}
5858
]
5959
flake8 = "^4.0"
60-
mypy = "0.910"
60+
mypy = "0.930"
6161
sphinx = "^4.3"
6262
sphinx_rtd_theme = ">=1,<2"
6363
check-manifest = ">=0.46,<1"

src/graphql/subscription/subscribe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ async def map_source_to_response(payload: Any) -> ExecutionResult:
8787
operation_name,
8888
field_resolver,
8989
)
90-
return await result if isawaitable(result) else result # type: ignore
90+
return await result if isawaitable(result) else result
9191

9292
# Map every source value to a ExecutionResult value as described above.
9393
return MapAsyncIterator(result_or_stream, map_source_to_response)

0 commit comments

Comments
 (0)