Hi,

Damjan schrieb:
> You don't need lambda, sinice sessionmaker will itself create and
> return a function that will be then called by the scoped_session when
> needed.
He does.  application.database_engine is not available when the
application is not yet bound to the active context.  It's only bound
during a request and that code there is executed at import time.


Regards,
Arminm

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pocoo-libs" 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/pocoo-libs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to