Michael Bayer posted this on gmane.comp.python.sqlalchemy.user:
> should have this fixed in changeset 1679
It works like a charm now :) Thanks a lot, Mike, your support is
impressive!
> its better if you dont use add_property btw, i noticed you were using
> a property "Name" which you mean to
should have this fixed in changeset 1679
its better if you dont use add_property btw, i noticed you were using
a property "Name" which you mean to be "name"because of
add_property, the People class had both. if you do it this way, it
just has one of them:
mapper(Originals, tab
Michael Bayer posted this on gmane.comp.python.sqlalchemy.user:
> heres how im running it:
>
> z-eeks-Computer:~/dev/sqlalchemy classic$ export PYTHONPATH=./lib/:./
> test/
> z-eeks-Computer:~/dev/sqlalchemy classic$ python threadlocal-
> association.py
> testdelete (__main__.AssociationTest) .
ive also noticed that easy_install plays some games recently that
make PYTHONPATH not function correctly. you might want to look in
your site-packages/easy-install.pth file and comment out SQLAlchemy
if youre trying to get a local non-installed version to work...not
sure what the real fix
heres how im running it:
z-eeks-Computer:~/dev/sqlalchemy classic$ export PYTHONPATH=./lib/:./
test/
z-eeks-Computer:~/dev/sqlalchemy classic$ python threadlocal-
association.py
testdelete (__main__.AssociationTest) ... ok
testinsert (__main__.AssociationTest) ... ok
testmodify (__main__.Assoc
> Michael Bayer [mailto:[EMAIL PROTECTED]
>
> heres a diff. the test framework has the "threadlocal" thing turned
> off by default and also plays some games with it.
>
> you should be able to remove all the "save()" statements from the
> tests and everything should keep working; with thread
heres a diff. the test framework has the "threadlocal" thing turned
off by default and also plays some games with it.
you should be able to remove all the "save()" statements from the
tests and everything should keep working; with threadlocal running,
new objects automatically get added to
7 matches
Mail list logo