I am new here. I have just installed JupyterLab (4.3.1) on HomeAssistant (2024.12.0). I am trying to run the provided GettingStarted notebook and getting the following errors - what am I doing wrong?
Cross-referencing cross-posted JupyterLabs for HomeAssistant - Errors in Getting_Started.jpynb · Issue #17066 · jupyterlab/jupyterlab · GitHub with answer from Jason.
I was able to resolve this error with the following:
# import text
from sqlalchemy import text
# wrap query with `text`
query = text("SELECT * FROM ...")
for event in db.perform_query(query):
...
...
Don’t get too excited though, because the notebook fails further down . It seems that this “getting started” example is outdated.