New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
noload for scalar attributes behaves like lazyload #3510
Comments
Alex Grönholm (@agronholm) wrote: I should add that the above script works fine on 0.9.9 but is broken on 1.0.0. |
Changes by Michael Bayer (@zzzeek):
|
Changes by Michael Bayer (@zzzeek):
|
Changes by Michael Bayer (@zzzeek):
|
Adrian (@thiefmaster) wrote: kind of unrelated, but a "strict" noload strategy that fails with an exception instead of returning |
Michael Bayer (@zzzeek) wrote: you've posted a perfect bug report, don't spoil it ;) |
Michael Bayer (@zzzeek) wrote: here is the code for that: https://groups.google.com/forum/#!topic/sqlalchemy/X_wA8K97smE user failed to post a PR, please do so. |
Changes by Michael Bayer (@zzzeek):
|
Adrian (@thiefmaster) wrote: thanks for the link to the mailing list! here's a PR: zzzeek/sqlalchemy#193 (sorry, I prefer github ;)) |
Migrated issue, originally created by Adrian (@thiefmaster)
I would expect the last
print
in this script to showNone
, but as of 1.0.x it shows a C object (which is lazy-loaded).Script + full output: https://gist.github.com/ThiefMaster/d6c16d26c77507612b0d
The text was updated successfully, but these errors were encountered: