Skip to content

Commit 5e866bb

Browse files
committed
Fix: remove last references to eval name
1 parent b37e550 commit 5e866bb

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

myst_nb/ext/eval/__init__.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
from docutils import nodes
88
from docutils.parsers.rst import directives as spec
99

10-
from myst_nb.core.execute.base import EvalNameError
1110
from myst_nb.core.render import NbElementRenderer
1211
from myst_nb.core.variables import (
1312
RetrievalError,
@@ -42,8 +41,6 @@ def retrieve_eval_data(document: nodes.document, key: str) -> list[VariableOutpu
4241
outputs = element.renderer.nb_client.eval_variable(key)
4342
except NotImplementedError:
4443
raise RetrievalError("This document does not have a running kernel")
45-
except EvalNameError:
46-
raise RetrievalError(f"The variable {key!r} is not a valid name")
4744
except Exception as exc:
4845
raise RetrievalError(f"variable evaluation error: {exc}")
4946
if not outputs:

0 commit comments

Comments
 (0)