Skip to content

Commit 53a984c

Browse files
committed
ref(client): Fix mypy inheritance type error
GH-4601
1 parent dd29ffd commit 53a984c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sentry_sdk/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -930,7 +930,7 @@ def close(
930930
self,
931931
timeout: Optional[float] = None,
932932
callback: Optional[Callable[[int, float], None]] = None,
933-
) -> Optional[asyncio.Task[None]]:
933+
) -> Optional[asyncio.Task[None]]: # type: ignore[override]
934934
"""
935935
Close the client and shut down the transport. Arguments have the same
936936
semantics as :py:meth:`Client.flush`. When using the async transport, close needs to be awaited to block.
@@ -956,7 +956,7 @@ def flush(
956956
self,
957957
timeout: Optional[float] = None,
958958
callback: Optional[Callable[[int, float], None]] = None,
959-
) -> Optional[asyncio.Task[None]]:
959+
) -> Optional[asyncio.Task[None]]: # type: ignore[override]
960960
"""
961961
Wait for the current events to be sent. When using the async transport, flush needs to be awaited to block.
962962

0 commit comments

Comments
 (0)