mirror of
https://github.com/kennethreitz/requests.git
synced 2026-06-05 22:50:18 +00:00
add 'max_redirects' to Session's __attrs__ to ensure proper serialization of Session
This commit is contained in:
@@ -182,7 +182,7 @@ class Session(SessionRedirectMixin):
|
||||
__attrs__ = [
|
||||
'headers', 'cookies', 'auth', 'timeout', 'proxies', 'hooks',
|
||||
'params', 'verify', 'cert', 'prefetch', 'adapters', 'stream',
|
||||
'trust_env']
|
||||
'trust_env', 'max_redirects']
|
||||
|
||||
def __init__(self):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user