You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Pretty table config is deprecated and it causes an error of KeyError: "DEFAULT" #252
I'm seeing this too.
It's breaking where its accessing the style selected as a dictionary key, in the toplevel object.
The KeyError changes based on style you select as well.
I could fix it again....
Activity
freezing prettytable to 3.11.0 to solve deprecation issues
pavlozt commentedon Dec 15, 2024
The proposed change works.
And it is a very frustrating bug that breaks the basic functionality
talbarda commentedon Dec 15, 2024
Can you merge this then ?
modified: scripts/00-setup/setup-bas.md <- including SQLAlchemy stuff…
makingglitches commentedon Jun 2, 2025
I'm seeing this too.
It's breaking where its accessing the style selected as a dictionary key, in the toplevel object.
The KeyError changes based on style you select as well.
I could fix it again....
makingglitches commentedon Jun 2, 2025
Appears to be line 116 of run.py at HEAD.
It appears constants related to style have moved to a class called TableStyle as static members.
self.pretty = PrettyTable(self.field_names, style=prettytable.TableStyle.dict[config.style.upper()])
Should probably fix it.
Sygyzmundovych commentedon Feb 20, 2026
I switched to the new and maintained fork
jupysql(see: https://jupysql.readthedocs.io/en/latest/quick-start.html)