Hello,
I have been looking at this recipe and I have got it working in my
application. I'd like to change it a little but I am not sure where to
start. Here is the back ground. I collected the session into class
class dbFile:
def __init__(self, uri, echo=False ):
self.uri_db = uri
self.engine = create_engine(self.uri_db, echo=echo)
self.session = scoped_session(sessionmaker(
autoflush=True, autocommit=True,
bind=self.engine))
for e in entities:
dbFile.__dict__[e.__name__] = e
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---