##// END OF EJS Templates
add pre/post-save hooks...
add pre/post-save hooks - `ContentsManager.pre_save_hook` runs on the path and model with content - `FileContentsManager.post_save_hook` runs on the filesystem path and model without content - use pre_save_hook for things like stripping output - use post_save_hook for things like nbconvert --to python

File last commit:

r16418:b55d2748
r19299:cf989ee0
Show More
__init__.py
7 lines | 151 B | text/x-python | PythonLexer
from .base import PostProcessorBase
# protect against unavailable tornado
try:
from .serve import ServePostProcessor
except ImportError:
pass