On Tue, Sep 20, 2016 at 5:36 AM, Rahul Ahuja <rah.ah...@gmail.com> wrote:
> Thanks for the swift reply, Mike! Unfortunately, I had some trouble running
> your code. I'm getting
> base = automap_base(MetaData())
> File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/ext/automap.py",
> line 848, in automap_base
> AttributeError: 'MetaData' object has no attribute '__name__'
> For some reason the class name doesn't seem to be parsing?
I think it should have been:
base = automap_base(metadata=MetaData())
...although I haven't followed the rest of the thread and I don't know
why it was necessary to specify the metadata specifically in the first
You received this message because you are subscribed to the Google Groups
To unsubscribe from this group and stop receiving emails from it, send an email
To post to this group, send email to firstname.lastname@example.org.
Visit this group at https://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.