For some reason slots are a bad idea
This commit is contained in:
parent
eadbc2496e
commit
5700749105
@ -9,7 +9,7 @@ import falcon.status_codes as status
|
|||||||
|
|
||||||
class JsonRequest(FalconRequest):
|
class JsonRequest(FalconRequest):
|
||||||
|
|
||||||
__slots__ = set(FalconRequest.__slots__ + ("_json", "_args"))
|
#__slots__ = set(FalconRequest.__slots__ + ("_json", "_args"))
|
||||||
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
@ -27,7 +27,7 @@ class JsonRequest(FalconRequest):
|
|||||||
|
|
||||||
class JsonResponse(FalconResponse):
|
class JsonResponse(FalconResponse):
|
||||||
|
|
||||||
__slots__ = set(FalconRequest.__slots__ + ("_json",))
|
#__slots__ = set(FalconRequest.__slots__ + ("_json",))
|
||||||
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
Loading…
Reference in New Issue
Block a user