For some reason slots are a bad idea

This commit is contained in:
Arti Zirk 2016-11-01 23:17:23 +02:00
parent eadbc2496e
commit 5700749105

View File

@ -9,7 +9,7 @@ import falcon.status_codes as status
class JsonRequest(FalconRequest):
__slots__ = set(FalconRequest.__slots__ + ("_json", "_args"))
#__slots__ = set(FalconRequest.__slots__ + ("_json", "_args"))
@property
@ -27,7 +27,7 @@ class JsonRequest(FalconRequest):
class JsonResponse(FalconResponse):
__slots__ = set(FalconRequest.__slots__ + ("_json",))
#__slots__ = set(FalconRequest.__slots__ + ("_json",))
@property