MCPcopy Index your code
hub / github.com/fluentpython/example-code-2e / reset

Method reset

21-async/mojifinder/bottle.py:500–503  ·  view source on GitHub ↗

Forget any cached values. The next time :attr:`call` is accessed, all plugins are re-applied.

(self)

Source from the content-addressed store, hash-verified

498 return self._make_callback()
499
500 def reset(self):
501 ''' Forget any cached values. The next time :attr:`call` is accessed,
502 all plugins are re-applied. '''
503 self.__dict__.pop('call', None)
504
505 def prepare(self):
506 ''' Do all on-demand work immediately (useful for debugging).'''

Callers 2

resetMethod · 0.45
_handleMethod · 0.45

Calls 1

popMethod · 0.80

Tested by

no test coverage detected