##// END OF EJS Templates
warn on invalid notebooks before/after conversion...
warn on invalid notebooks before/after conversion was raising on downgrade, warning on upgrade

File last commit:

r18582:b3e49660
r18594:a699b006
Show More
__init__.py
19 lines | 573 B | text/x-python | PythonLexer
"""The main API for the v4 notebook format."""
# Copyright (c) IPython Development Team.
# Distributed under the terms of the Modified BSD License.
from .nbbase import (
NotebookNode, from_dict,
nbformat, nbformat_minor, nbformat_schema,
new_code_cell, new_heading_cell, new_markdown_cell, new_notebook,
new_output, output_from_msg,
)
from .nbjson import reads as reads_json, writes as writes_json
from .nbjson import reads as read_json, writes as write_json
from .nbjson import to_notebook as to_notebook_json
from .convert import downgrade, upgrade