Skip to content

Commit b1f3a2d

Browse files
committed
Remove timeout from __attrs__
We do not allow the user to set the timeout value on the Session any longer so this is extraneous
1 parent e74791d commit b1f3a2d

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

requests/sessions.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -271,9 +271,10 @@ class Session(SessionRedirectMixin):
271271
"""
272272

273273
__attrs__ = [
274-
'headers', 'cookies', 'auth', 'timeout', 'proxies', 'hooks',
275-
'params', 'verify', 'cert', 'prefetch', 'adapters', 'stream',
276-
'trust_env', 'max_redirects', 'redirect_cache']
274+
'headers', 'cookies', 'auth', 'proxies', 'hooks', 'params', 'verify',
275+
'cert', 'prefetch', 'adapters', 'stream', 'trust_env',
276+
'max_redirects', 'redirect_cache'
277+
]
277278

278279
def __init__(self):
279280

0 commit comments

Comments
 (0)