[sqlalchemy] Re: Using SQLAlchemy with multiple classes/modules

2008-11-19 Thread Power Button
hi there, thanks for this. Has cleared alot of things up. thanks again for the nice library. On Nov 17, 3:34 pm, Michael Bayer [EMAIL PROTECTED] wrote: On Nov 17, 2008, at 7:17 AM, Power Button wrote: What I have tried is putting all the setup instructions into a class and

[sqlalchemy] Re: Using SQLAlchemy with multiple classes/modules

2008-11-17 Thread Michael Bayer
On Nov 17, 2008, at 7:17 AM, Power Button wrote: What I have tried is putting all the setup instructions into a class and instantiating this in myApp.py. This doesn't make it global to all the modules though. Do I need to pass this object around to all classes as arguments to __init__() in