Skip to content

Commit 08f7c78

Browse files
committed
Revert "context, reset cache before save"
This reverts commit 76ef4c2.
1 parent b62d4ea commit 08f7c78

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

aikido_zen/context/__init__.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,8 @@ def __reduce__(self):
9999

100100
def set_as_current_context(self):
101101
"""
102-
Set the current context, called every time we change the context.
102+
Set the current context
103103
"""
104-
self.reset_cache()
105104
current_context.set(self)
106105

107106
def set_cookies(self, cookies):
@@ -113,9 +112,6 @@ def set_body(self, body):
113112
except Exception as e:
114113
logger.debug("Exception occurred whilst setting body: %s", e)
115114

116-
def reset_cache(self):
117-
self.parsed_userinput = {}
118-
119115
def set_body_internal(self, body):
120116
"""Sets the body and checks if it's possibly JSON"""
121117
self.body = body

0 commit comments

Comments
 (0)