Ah, interesting. I updated my code and it works great, thanks!

Demitri

> On Mar 25, 2021, at 5:53 PM, Mike Bayer <mike...@zzzcomputing.com> wrote:
> 
> the constructor for Table is not expecting that you pass the "name" and 
> "metadata" argument as keyword arguments and this is causing the reflection 
> process to not occur at all.
> 
> specify the table like this:
> 
> Table('my_table', metadata, schema='test_schema', autoload_with=engine) 
> 
> There's some unsmoothness here in SQLAlchemy both not warning about the 
> keyword arguments and being ungraceful when no columns are present so 
> https://github.com/sqlalchemy/sqlalchemy/issues/6135 is added.
> 

-- 
SQLAlchemy - 
The Python SQL Toolkit and Object Relational Mapper

http://www.sqlalchemy.org/

To post example code, please provide an MCVE: Minimal, Complete, and Verifiable 
Example.  See  http://stackoverflow.com/help/mcve for a full description.
--- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sqlalchemy+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sqlalchemy/DC1C2C5F-EAAB-4589-BC93-AC9FCADD1E8B%40gmail.com.

Reply via email to