On 7/10/14, 3:49 PM, Paul Molodowitch wrote:
> Whoops! Just noticed this was the totally wrong traceback!
>
> Here's the correct trace:
>
>     Traceback (most recent call last):
>       File "<stdin>", line 1, in <module>
>       File "test.py", line 155, in <module>
>         metadata.reflect(db.engine, only=tables)
>       File "./sqlalchemy/sql/schema.py", line 3277, in reflect
>         Table(name, self, **reflect_opts)
>       File "./sqlalchemy/sql/schema.py", line 352, in __new__
>         table._init(name, metadata, *args, **kw)
>       File "./sqlalchemy/sql/schema.py", line 425, in _init
>         self._autoload(metadata, autoload_with, include_columns)
>       File "./sqlalchemy/sql/schema.py", line 437, in _autoload
>         self, include_columns, exclude_columns
>       File "./sqlalchemy/engine/base.py", line 1198, in run_callable
>         return callable_(self, *args, **kwargs)
>       File "./sqlalchemy/engine/default.py", line 355, in reflecttable
>         return insp.reflecttable(table, include_columns, exclude_columns)
>       File "./sqlalchemy/engine/reflection.py", line 463, in reflecttable
>         for col_d in self.get_columns(table_name, schema,
>     **table.dialect_kwargs):
>     TypeError: get_columns() keywords must be strings
>

with metadata.reflect(), OK.  Can you please make a very short and
self-contained test case and post a bug report?  thanks.


-- 
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 post to this group, send email to sqlalchemy@googlegroups.com.
Visit this group at http://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.

Reply via email to