]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- most of the __init__ decoration has been removed from mapper, save for
authorMike Bayer <mike_mp@zzzcomputing.com>
Sun, 27 May 2007 03:20:11 +0000 (03:20 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 27 May 2007 03:20:11 +0000 (03:20 +0000)
commit481cb0873fe7910387ec05333d6524fba4d352fe
tree35bd6107a46b9dfed3b8aa7d00d76112d48fa110
parentc0f47eefee5cc54342b714087bc0a74b80671489
- most of the __init__ decoration has been removed from mapper, save for
that the mappers all get compiled when an instance of a mapped class is first constructed.
the SessionContextExt extension gets all the "add object to the session" logic now and the
_sa_session and _sa_entity_name arguments only apply to when the SessionContextExt is in use.
Some extra methods to MapperExtension to support __init__ decoration.
- assignmapper loses "join_to", gains "join".  id like to replace all those methods with just "query"
but i think they are too popular, so it should probably get filter(), filter_by() also.
lib/sqlalchemy/ext/assignmapper.py
lib/sqlalchemy/ext/sessioncontext.py
lib/sqlalchemy/orm/__init__.py
lib/sqlalchemy/orm/mapper.py
lib/sqlalchemy/orm/query.py
test/ext/activemapper.py
test/ext/selectresults.py
test/orm/inheritance/basic.py
test/orm/inheritance/manytomany.py
test/orm/mapper.py