We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 72a300f commit 73a9428Copy full SHA for 73a9428
adafruit_requests.py
@@ -721,7 +721,7 @@ def wrap_socket(
721
return _FakeSSLSocket(socket, self._iface.TLS_MODE)
722
723
724
-def set_socket(sock, iface: Optional[InterfaceType] = None) -> None:
+def set_socket(sock: SocketpoolModuleType, iface: Optional[InterfaceType] = None) -> None:
725
"""Legacy API for setting the socket and network interface. Use a `Session` instead."""
726
global _default_session # pylint: disable=global-statement,invalid-name
727
if not iface:
0 commit comments