dbcli / pgcli

Postgres CLI with autocompletion and syntax highlighting
http://pgcli.com
BSD 3-Clause "New" or "Revised" License
12.04k stars 553 forks source link

pgcli.magic `conn.session.engine.url` raises AttributeError after breaking change upstream in ipython-sql #1440

Open tavisrudd opened 10 months ago

tavisrudd commented 10 months ago

This reference to session in pgcli.magic conn.session.engine.url raises an AttributeError for the current HEAD version of ipython-sql (after https://github.com/catherinedevlin/ipython-sql/commit/9fbf83baff3739757b494c9776d4dfeac275d5d2). It can be changed to just conn.url.

However, it's probably worth moving off ipython-sql to https://github.com/ploomber/jupysql which is a maintained fork of it.

Refs: