Commits

Author Commit Message Labels Comments Date
Mike Bayer
- [feature] Connection event listeners can now be associated with individual Connection objects, not just Engine objects. [ticket:2511]
Mike Bayer
a lot of docs
Mike Bayer
- with InstanceState more public, underscore all its methods that change object state as these aren't intended for public use.
Mike Bayer
- document the inspection system
Mike Bayer
this can be any expression
Mike Bayer
pep8
Mike Bayer
- move ext to relative imports
Mike Bayer
- a big renaming of all the _Underscore classes to have plain names. The old names are still defined for backwards compatibility. - _BindParamClause renamed to BindParameter
Mike Bayer
try to get these to pass on jenkins
Mike Bayer
pypy doesn't seem to decrement __subclasses__(), just skip for now
Mike Bayer
adjust the compat namedtuple to handle subclassing
Mike Bayer
relax this variance for now
Mike Bayer
try to loosen the times up here to reduce failures due to latency
Branches
rel_0_7
Mike Bayer
try to loosen the times up here to reduce failures due to latency
Mike Bayer
- totally remove _entity_info and _extended_entity_info, replacing all usage with inspect()
Mike Bayer
- justify NamedTuple, now called KeyedTuple - fix this test
Mike Bayer
some test fixes and cleanup
Mike Bayer
- express most of the orm.util functions in terms of the inspection system - modify inspection system: 1. raise a new exception for any case where the inspection context can't be returned. this supersedes the "not mapped" errors. 2. don't configure mappers on a mapper inspection. this allows the inspectors to be used during mapper config time. instead, the mapper configures on "with_polymorphic_selectable" now, which is…
Mike Bayer
genindex is 100% valid
Branches
rel_0_5
Mike Bayer
genindex is 100% valid
Branches
rel_0_6
Mike Bayer
genindex is 100% valid
Branches
rel_0_7
Mike Bayer
genindex is 100% valid
Mike Bayer
- [bug] Fixed bug mostly local to new AbstractConcreteBase helper where the "type" attribute from the superclass would not be overridden on the subclass to produce the "reserved for base" error message, instead placing a do-nothing attribute there. This was inconsistent vs. using ConcreteBase as well as all the behavior of classical concrete mappings, where the "type" column from the polymorphic base would be explicitly disabled on s…
Branches
rel_0_7
Mike Bayer
- [bug] Fixed bug mostly local to new AbstractConcreteBase helper where the "type" attribute from the superclass would not be overridden on the subclass to produce the "reserved for base" error message, instead placing a do-nothing attribute there. This was inconsistent vs. using ConcreteBase as well as all the behavior of classical concrete mappings, where the "type" column from the polymorphic base w…
Mike Bayer
- [feature] *Very limited* support for inheriting mappers to be GC'ed when the class itself is deferenced. The mapper must not have its own table (i.e. single table inh only) without polymorphic attributes in place. This allows for the use case of creating a temporary subclass of a declarative mapped class, with no table or mapping directives of its own, to be garbage collected when dereferenced…
Mike Bayer
- [feature] The registry of classes in declarative_base() is now a WeakValueDictionary. So subclasses of "Base" that are dereferenced will be garbage collected, *if they are not referred to by any other mappers/superclass mappers*. [ticket:2526]
Mike Bayer
- break up configure_property - fix this test for 2.5
Mike Bayer
move mapper-level UOW functionality straight into unitofwork also. there's no need for this to be per-mapper. can't move dependency init off of property though as this init needs to happen up front, added a test to prove it.
Mike Bayer
- move load_scalar_attributes out to loading.py
Mike Bayer
attempt to fix this test for pypy
  1. Prev
  2. Next