mirror of
https://github.com/kennethreitz/requests.git
synced 2026-06-05 14:50:16 +00:00
more __slots__
This commit is contained in:
@@ -245,6 +245,19 @@ class Request(RequestHooksMixin):
|
||||
<PreparedRequest [GET]>
|
||||
"""
|
||||
|
||||
__slots__ = (
|
||||
'method',
|
||||
'url',
|
||||
'headers',
|
||||
'files',
|
||||
'data',
|
||||
'params',
|
||||
'auth',
|
||||
'cookies',
|
||||
'hooks',
|
||||
'json'
|
||||
)
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
method=None,
|
||||
|
||||
Reference in New Issue
Block a user