diff --git a/CHANGES/8612.feature.rst b/CHANGES/8612.feature.rst new file mode 100644 index 00000000000..96adcf6dc4c --- /dev/null +++ b/CHANGES/8612.feature.rst @@ -0,0 +1 @@ +Exported ``ClientWSTimeout`` to top-level namespace -- by :user:`Dreamsorcerer`. diff --git a/aiohttp/__init__.py b/aiohttp/__init__.py index 79f40d6f8f3..aa88e1d2623 100644 --- a/aiohttp/__init__.py +++ b/aiohttp/__init__.py @@ -21,6 +21,7 @@ ClientSSLError, ClientTimeout, ClientWebSocketResponse, + ClientWSTimeout, ConnectionTimeoutError, ContentTypeError, Fingerprint, @@ -138,6 +139,7 @@ "ClientSession", "ClientTimeout", "ClientWebSocketResponse", + "ClientWSTimeout", "ConnectionTimeoutError", "ContentTypeError", "Fingerprint", diff --git a/aiohttp/client.py b/aiohttp/client.py index c70ad65c59e..a655b35b5d6 100644 --- a/aiohttp/client.py +++ b/aiohttp/client.py @@ -141,6 +141,7 @@ # client "ClientSession", "ClientTimeout", + "ClientWSTimeout", "request", )