kportertx wrote:
>
> I moved to elixir when declarative_base caused the exact same issue.
> Elixir still uses sqlalchemy's session so am I at least using the
> session correctly?

thats unlikely.  the error claims it is looking for a nonexistent table
called "__main__test", which is the kind of name Elixir generates
(SQLalchemy does not generate names). Your code example below does not
include a table of this name.   in Elixir, the error indicates a Table is
being generated after metadata.create_all() occurs.   this issue wouldn't
occur in SQLAlchemy unless you didn't define your full model when you
created all the tables.   make sure all your classes are imported when you
call create_all().




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
To unsubscribe from this group, send email to 
sqlalchemy+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to