Skip to content

Pylint missing-timeout / W3101 is a new exception #32

@ross-spencer

Description

@ross-spencer

Pylint have introduced a new exception, W3101 which is currently in our ignore patterns. We should determine what the best course of action is, whether there is a default timeout that is reasonable for our requests, and implement it in code.

missing-timeout / W3101
Message emitted:

Missing timeout argument for method '%s' can cause your program to hang 
indefinitely

Description:

Used when a method needs a 'timeout' parameter in order to avoid waiting for a 
long time. If no timeout is specified explicitly the default value is used. 
For example for 'requests' the program will never time out (i.e. hang 
indefinitely).

See: https://pylint.pycqa.org/en/latest/user_guide/messages/warning/missing-timeout.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions