File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 33import uuid
44import random
55import socket
6- import asyncio
76from collections .abc import Mapping
87from datetime import datetime , timezone
98from importlib import import_module
@@ -936,7 +935,7 @@ def close(
936935 self ,
937936 timeout : Optional [float ] = None ,
938937 callback : Optional [Callable [[int , float ], None ]] = None ,
939- ) -> Optional [ asyncio . Task [ None ]] :
938+ ) -> None :
940939 """
941940 Close the client and shut down the transport. Arguments have the same
942941 semantics as :py:meth:`Client.flush`.
@@ -983,7 +982,7 @@ def flush(
983982 self ,
984983 timeout : Optional [float ] = None ,
985984 callback : Optional [Callable [[int , float ], None ]] = None ,
986- ) -> Optional [ asyncio . Task [ None ]] :
985+ ) -> None :
987986 """
988987 Wait for the current events to be sent.
989988
You can’t perform that action at this time.
0 commit comments