On 8/5/2010 8:26 AM, Mike Conley wrote:

On Thu, Aug 5, 2010 at 6:29 AM, Michael Hipp <mich...@hipp.com
<mailto:mich...@hipp.com>> wrote:

    On 8/4/2010 10:03 PM, Mike Conley wrote:

    Thanks. But by the time I'm done there will be at least a dozen of
    those "otherfiles". Which one do I get Base from?

You can put the declaration of Base in a common file that is imported by
all the other files and your main program. Reference the Base from that
file whenever needed and all code will share the same instance.


That works great, thank you.

Michael

--
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalch...@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