]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Centralized 'x is not mapped' reporting into sa.orm.exc.
authorJason Kirtland <jek@discorporate.us>
Wed, 21 May 2008 03:39:06 +0000 (03:39 +0000)
committerJason Kirtland <jek@discorporate.us>
Wed, 21 May 2008 03:39:06 +0000 (03:39 +0000)
commit92c7a834d76462822376998aa647341eacbbbdfa
tree8a6b3ca1d7b98020dee956154cc78e5dbcbea45d
parent6536af53fcbedb1af42dde824561252becbbd7e5
- Centralized 'x is not mapped' reporting into sa.orm.exc.
- Guards are now present on all public Session methods and passing in an
  unmapped hoho anywhere yields helpful exception messages, going to some
  effort to provide hints for debugging situations that would otherwise seem
  hopeless, such as broken user instrumentation or half-pickles.
lib/sqlalchemy/orm/exc.py
lib/sqlalchemy/orm/session.py
lib/sqlalchemy/orm/util.py
test/orm/session.py