diff --git a/adafruit_requests.py b/adafruit_requests.py index ee857b8..3bff69b 100644 --- a/adafruit_requests.py +++ b/adafruit_requests.py @@ -65,7 +65,11 @@ InterfaceType = TypeVar("InterfaceType", ESP_SPIcontrol, WIZNET5K, FONA) except ImportError: - pass + # pylint: disable=invalid-name + SocketType = None + SocketpoolModuleType = None + SSLContextType = None + InterfaceType = None # CircuitPython 6.0 does not have the bytearray.split method. # This function emulates buf.split(needle)[0], which is the functionality