[PonyORM-list] Example with disconnect()
Alexander Kozlovsky
alexander.kozlovsky at gmail.com
Fri Dec 12 14:58:19 UTC 2014
Oops, it is because the entity actually called `MyEntity1`, not `Entity1`
Try to unzip and test the attached example, it should work
Regards,
Alexander
On Fri, Dec 12, 2014 at 5:31 PM, Goldberg, Arthur P <
arthur.p.goldberg at mssm.edu> wrote:
>
> Hi Alexander
>
> Excellent idea, thanks!
> But I don't find that the Entity definitions are available in db. E.g.,
> your last line would error with
>
> AttributeError: 'Database' object has no attribute 'Entity1'
>
> And I looked inside all of db's attributes, and didn't find it.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </ponyorm-list/attachments/20141212/fcf5bedb/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: multiple_db.zip
Type: application/zip
Size: 1678 bytes
Desc: not available
URL: </ponyorm-list/attachments/20141212/fcf5bedb/attachment.zip>
More information about the ponyorm-list
mailing list