Skip to content

Commit

Permalink
Restore ResourcesDict to the public API (#2055)
Browse files Browse the repository at this point in the history
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
blink1073 and pre-commit-ci[bot] authored Oct 5, 2023
1 parent 967350e commit 8e85303
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -1317,6 +1317,7 @@ raw template
{%- endblock in_prompt -%}
"""


exporter_attr = AttrExporter()
output_attr, _ = exporter_attr.from_notebook_node(nb)
assert "raw template" in output_attr
Expand Down
3 changes: 2 additions & 1 deletion nbconvert/exporters/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from .asciidoc import ASCIIDocExporter
from .base import ExporterDisabledError, ExporterNameError, export, get_export_names, get_exporter
from .exporter import Exporter, FilenameExtension
from .exporter import Exporter, FilenameExtension, ResourcesDict
from .html import HTMLExporter
from .latex import LatexExporter
from .markdown import MarkdownExporter
Expand Down Expand Up @@ -32,6 +32,7 @@
"PythonExporter",
"QtPDFExporter",
"QtPNGExporter",
"ResourcesDict",
"RSTExporter",
"ScriptExporter",
"SlidesExporter",
Expand Down

0 comments on commit 8e85303

Please sign in to comment.