Michael Bayer wrote:
> nevermind, this one was pretty straightforward and r3695 didnt
> actually "break" things, it just revealed the lack of checking for
> things elsewhere, so works in r3747.
>
yes, that works.
but now multiple other things broke. pfffff
- the mapper.properties in its new get()/iterate() form is not
available yet when mapper-extensions are setup (e.g. at
ext.instrument_class). i need to find which attribute-name is being
mapped to certain table.column... maybe i can get without it..
- something changed in the traversing (AbstractClauseProcessor - r3727)
and it does not find proper things...
- r3735 - i started getting again these:
File "/home/az/src/dbcook/sqlalchemy/orm/util.py", line 261, in __getitem__
return self.row[key]
File "/home/az/src/dbcook/sqlalchemy/engine/base.py", line 1247, in
__getitem__
return self.__parent._get_col(self.__row, key)
File "/home/az/src/dbcook/sqlalchemy/engine/base.py", line 1470, in
_get_col
rec = self._key_cache[key]
File "/home/az/src/dbcook/sqlalchemy/util.py", line 72, in __missing__
self[key] = val = self.creator(key)
File "/home/az/src/dbcook/sqlalchemy/engine/base.py", line 1375, in
lookup_key
raise exceptions.NoSuchColumnError("Could not locate column in row
for column '%s'" % (str(key)))
NoSuchColumnError: "Could not locate column in row for column 'A_tbl.db_id'"
details later.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sqlalchemy" 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/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---