arelle.SocketUtils

See COPYRIGHT.md for copyright information.

Module Contents

Classes

WarnSocket

This is a simple wrapper around the socket to print a warning if Arelle attempts to download something while running in offline mode.

Functions

Data

API

arelle.SocketUtils.INTERNET_CONNECTIVITY

‘internetConnectivity’

arelle.SocketUtils.OFFLINE

‘offline’

class arelle.SocketUtils.WarnSocket(family: int = -1, type: int = -1, proto: int = -1, fileno: int | None = None)

Bases: socket.socket

This is a simple wrapper around the socket to print a warning if Arelle attempts to download something while running in offline mode.

Initialization

Initialize self. See help(type(self)) for accurate signature.

arelle.SocketUtils.warnSocket() None