Thanks!
That was it.
My weak Python understanding was my downfall!
On Dec 8, 11:06 pm, Diana Clarke wrote:
> [hmmm, let's try that again... not sure why gmail mangled my email]
>
> Hi John:
>
> The following import is causing that error.
>
> from sqlalchemy.orm import session, Session
>
> In
[hmmm, let's try that again... not sure why gmail mangled my email]
Hi John:
The following import is causing that error.
from sqlalchemy.orm import session, Session
In the all-in-one example you provided, you later go on to reassign
'session' and 'Session', replacing those imported values w
Hi John:
The following import is causing that error.
from sqlalchemy.orm import session, Session
In the all-in-one example you provided, you later go on to reassign
'session' and 'Session', replacing those imported values with your own
values.
Session = scoped_session(sessionmaker(bind=engi
Thanks Michael,
Could not find a hidden Session object.
So I broke it down into a problem that works/doesn't work based on
files separation
1. If I place all of the code into one file all_in_one.py which
contains the cherrypy startup, the SA init code and ORM object and the
cherrypy REST resource