innovationOUtside/ipython_magic_sqlalchemy_schemadisplay

Issue create_schema_graph()

Closed this issue · 3 comments

pytoni commented

I created 2 tables, then run: %schema --connection_string $DB_CONNECTION
And I got this error:
TypeError: create_schema_graph() got an unexpected keyword argument 'restrict_tables'.

I tried to check the create_schema_graph() syntax but I still can't fix this.
Can anyone help me on this? Thank you!

pytoni commented

They actually got the same issue: TypeError: create_schema_graph() got an unexpected keyword argument 'restrict_tables'

Updated to use sqlalchemy 2.