

def on_teardown(self, app, task=None):
    'Callback on request / task teardown.\n\n    Default implementation calls the teardown handler on all the defined\n    sessions.\n\n    '
    for (session, options) in self._sessions.values():
        self._teardown_handler(session, app, options)

dataset/ETHPy150Open mtth/kit/kit/base.py Kit.on_teardown/original