Skip to content

Commit

Permalink
error: Returning Any from function declared to return "_SupportsLessT…
Browse files Browse the repository at this point in the history
  • Loading branch information
laughingman7743 committed Dec 29, 2020
1 parent 3e1b4d5 commit 4d121ce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pyathena/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,8 @@ def _find_previous_query_id(
and e["StatementType"]
== AthenaQueryExecution.STATEMENT_TYPE_DML
),
key=lambda e: e["Status"]["CompletionDateTime"],
# https://github.com/python/mypy/issues/9656
key=lambda e: e["Status"]["CompletionDateTime"], # type: ignore
reverse=True,
):
if (
Expand Down

0 comments on commit 4d121ce

Please sign in to comment.