Skip to content

Commit 22dcd5d

Browse files
authored
Remove unused timeout parameter from preferred_connections doc string (#987)
1 parent a7e87a5 commit 22dcd5d

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

plexapi/myplex.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1219,7 +1219,6 @@ def _loadData(self, data):
12191219
def preferred_connections(
12201220
self,
12211221
ssl=None,
1222-
timeout=None,
12231222
locations=DEFAULT_LOCATION_ORDER,
12241223
schemes=DEFAULT_SCHEME_ORDER,
12251224
):
@@ -1231,7 +1230,6 @@ def preferred_connections(
12311230
ssl (bool, optional): Set True to only connect to HTTPS connections. Set False to
12321231
only connect to HTTP connections. Set None (default) to connect to any
12331232
HTTP or HTTPS connection.
1234-
timeout (int, optional): The timeout in seconds to attempt each connection.
12351233
"""
12361234
connections_dict = {location: {scheme: [] for scheme in schemes} for location in locations}
12371235
for connection in self.connections:

0 commit comments

Comments
 (0)