-
Notifications
You must be signed in to change notification settings - Fork 893
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve Jupyter workflow when configuration is broken #1590
Comments
I like this suggestion 👍 Does the error message appear in the console where you run We used to have some sort of |
I don't think so - this is what comes up in the 2nd run:
|
Description
Using the spaceflights demo on 0.18.1 if I open a
kedro jupyter notebook
session and writecatalog.list()
I will get the following:If I break the
catalog.yml
file so that it is unparsable and runkedro catalog list
(or any other command likekedro run
I will get a helpful parse error in the terminal:However, if I start a
kedro jupyter notebook
session in this state, I get no warning or messaging that Kedro is unable to create thecatalog
,session
and other global variables. As a user I get this confusing state where thecatalog
is no longer available to me:Context
I think novice users can get stuck here with no direction as to why the catalog is not available.
Possible Implementation
Surface warning to the jupyter context, perhaps even make a dummy
catalog
,context
,session
objects available that expose the log message when called...The text was updated successfully, but these errors were encountered: