From 6454ac0944954431424bd854d1a99128af8fe6c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9F=D0=B0=D0=BD=D0=BA=D0=BE=D0=B2=20=D0=92=D0=B0=D1=81?= =?UTF-8?q?=D0=B8=D0=BB=D0=B8=D0=B9?= Date: Wed, 14 Mar 2018 13:37:15 +0300 Subject: [PATCH] Add __weakref__ to Request slots --- sanic/request.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sanic/request.py b/sanic/request.py index cd7071d7..22d74a64 100644 --- a/sanic/request.py +++ b/sanic/request.py @@ -48,7 +48,7 @@ class Request(dict): 'app', 'headers', 'version', 'method', '_cookies', 'transport', 'body', 'parsed_json', 'parsed_args', 'parsed_form', 'parsed_files', '_ip', '_parsed_url', 'uri_template', 'stream', '_remote_addr', - '_socket', '_port' + '_socket', '_port', '__weakref__' ) def __init__(self, url_bytes, headers, version, method, transport):