On 6/19/06, Michael Bayer <[EMAIL PROTECTED]> wrote:
> ah, that is due to the instrumentation of attributes.  the "pages"
> attribute will be created when you first access it normally, as
> opposed to directly through the object's __dict__ where it doesnt
> exist yet.
>
> if you say j.pages or getattr(j, 'pages'), then itll magically appear
> in the __dict__.

Nope.. :o(

In [1]: from jobs import *

In [2]: j = Job()

In [3]: j.pages
---------------------------------------------------------------------------
exceptions.AttributeError                            Traceback (most
recent call last)

/home/arnarb/workdir/softproof/webinterface/softproof/softproof/nontgmodel/<ipython
console>

AttributeError: 'Job' object has no attribute 'pages'

Arnar


_______________________________________________
Sqlalchemy-users mailing list
Sqlalchemy-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users

Reply via email to