Add __weakref__ to Request slots

This commit is contained in:
Панков Василий 2018-03-14 13:37:15 +03:00
parent cc84005593
commit 6454ac0944

View File

@ -48,7 +48,7 @@ class Request(dict):
'app', 'headers', 'version', 'method', '_cookies', 'transport', 'app', 'headers', 'version', 'method', '_cookies', 'transport',
'body', 'parsed_json', 'parsed_args', 'parsed_form', 'parsed_files', 'body', 'parsed_json', 'parsed_args', 'parsed_form', 'parsed_files',
'_ip', '_parsed_url', 'uri_template', 'stream', '_remote_addr', '_ip', '_parsed_url', 'uri_template', 'stream', '_remote_addr',
'_socket', '_port' '_socket', '_port', '__weakref__'
) )
def __init__(self, url_bytes, headers, version, method, transport): def __init__(self, url_bytes, headers, version, method, transport):