##// END OF EJS Templates
rethrow upstream HTTP errors...
rethrow upstream HTTP errors If the proxied request to the CDN fails, rethrow the error. We were ignoring errors and sending an empty body.

File last commit:

r19043:61844265
r20487:6404bf4e
Show More
__init__.py
23 lines | 696 B | text/x-python | PythonLexer
MinRK
first complete pass on v4...
r18573 """The main API for the v4 notebook format."""
MinRK
copy nbformat.v3 to v4
r18568
MinRK
first complete pass on v4...
r18573 # Copyright (c) IPython Development Team.
# Distributed under the terms of the Modified BSD License.
MinRK
copy nbformat.v3 to v4
r18568
Thomas Kluyver
API docs gardening
r19043 __all__ = ['nbformat', 'nbformat_minor', 'nbformat_schema', 'new_code_cell',
'new_markdown_cell', 'new_notebook', 'new_output', 'output_from_msg',
'reads', 'writes', 'to_notebook', 'downgrade', 'upgrade']
MinRK
copy nbformat.v3 to v4
r18568 from .nbbase import (
MinRK
first complete pass on v4...
r18573 nbformat, nbformat_minor, nbformat_schema,
MinRK
remove heading cells in v4
r18596 new_code_cell, new_markdown_cell, new_notebook,
MinRK
add nbformat.output_from_msg...
r18582 new_output, output_from_msg,
MinRK
copy nbformat.v3 to v4
r18568 )
MinRK
move NotebookNode to top-level...
r18606 from .nbjson import reads, writes, to_notebook
reads_json = reads
writes_json = writes
to_notebook_json = to_notebook
MinRK
copy nbformat.v3 to v4
r18568
from .convert import downgrade, upgrade