fix: forget return value after run_method execution
This commit is contained in:
parent
a8a544cf44
commit
741ea13db2
1 changed files with 1 additions and 1 deletions
|
|
@ -1154,7 +1154,7 @@ class Document(BaseDocument):
|
|||
for f in hooks:
|
||||
add_to_return_value(self, f(self, method, *args, **kwargs))
|
||||
|
||||
return self._return_value
|
||||
return self.__dict__.pop("_return_value", None)
|
||||
|
||||
return runner
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue