Re: [Sqlalchemy-tickets] [sqlalchemy] #2914: sqlalchemy.orm.mapper.Mapper.attrs doesn't maintain or
Brought to you by:
zzzeek
|
From: sqlalchemy <mi...@zz...> - 2014-01-20 20:31:10
|
#2914: sqlalchemy.orm.mapper.Mapper.attrs doesn't maintain order
-------------------------------------------+-------------------------------
Reporter: tisdall | Owner: zzzeek
Type: defect | Status: new
Priority: low | Milestone: 0.9.xx
Component: orm | Severity: minor - half an
Resolution: | hour
Progress State: needs questions answered | Keywords:
-------------------------------------------+-------------------------------
Changes (by zzzeek):
* status_field: in queue => needs questions answered
Comment:
OK hold on. `ImmutableProperties` is passed the data dictionary, it does
*not* use any kind of dict on its own. `.attrs` specifically invokes
`util.ImmutableProperties(self._props)`, so it's ordered.
Are you observing that `mapper.attrs` is not maintaining ordering?
--
Ticket URL: <http://www.sqlalchemy.org/trac/ticket/2914#comment:3>
sqlalchemy <http://www.sqlalchemy.org/>
The Database Toolkit for Python
|