On Jan 15, 10:16 am, [email protected] wrote:
> I don't think you can run the setup_all() twice in the same process. But you 
> can assign different Metadata to each module you are running.
> BV


Well, I can run it, but when its run the second time, it doesn't
really do anything because the Entity objects are connected to the
first apps metadata.  Ideally, I would like to be able to create the
entities without their needing metadata, then assign the metadata for
app1, then run setup_all(), then assign metadata for app2, then run
setup_all() again.  Then, on each request, I could assign the correct
metadata to the entity as part of my request setup.

I am not sure what you mean when you say "you can assign different
Metadata to each module you are running."  You mean each Python
module, i.e. by using __metadata__?  That doesn't work for me because
the Python module is shared between applications.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SQLElixir" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sqlelixir?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to