File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -926,11 +926,11 @@ def _close_components(self) -> None:
926
926
self .transport .kill ()
927
927
self .transport = None
928
928
929
- def close (
929
+ def close ( # type: ignore[override]
930
930
self ,
931
931
timeout : Optional [float ] = None ,
932
932
callback : Optional [Callable [[int , float ], None ]] = None ,
933
- ) -> Optional [asyncio .Task [None ]]: # type: ignore[override]
933
+ ) -> Optional [asyncio .Task [None ]]:
934
934
"""
935
935
Close the client and shut down the transport. Arguments have the same
936
936
semantics as :py:meth:`Client.flush`. When using the async transport, close needs to be awaited to block.
@@ -952,11 +952,11 @@ def _on_flush_done(_: asyncio.Task[None]) -> None:
952
952
self ._close_components ()
953
953
return None
954
954
955
- def flush (
955
+ def flush ( # type: ignore[override]
956
956
self ,
957
957
timeout : Optional [float ] = None ,
958
958
callback : Optional [Callable [[int , float ], None ]] = None ,
959
- ) -> Optional [asyncio .Task [None ]]: # type: ignore[override]
959
+ ) -> Optional [asyncio .Task [None ]]:
960
960
"""
961
961
Wait for the current events to be sent. When using the async transport, flush needs to be awaited to block.
962
962
You can’t perform that action at this time.
0 commit comments