Commits

Author Commit Message Labels Comments Date
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
Mike Bayer
- [bug] Fixed more un-intuitivenesses in CTEs which prevented referring to a CTE in a union of itself without it being aliased. CTEs now render uniquely on name, rendering the outermost CTE of a given name only - all other references are rendered just as the name. This even includes other CTE/SELECTs that refer to different versions of the same CTE object, such as a SELECT or a UNION ALL of that SELECT. W…
Branches
rel_0_7
Mike Bayer
- [bug] Fixed more un-intuitivenesses in CTEs which prevented referring to a CTE in a union of itself without it being aliased. CTEs now render uniquely on name, rendering the outermost CTE of a given name only - all other references are rendered just as the name. This even includes other CTE/SELECTs that refer to different versions of the same CTE object, such as a SELECT or a UNION ALL of that SELECT. W…
Mike Bayer
- [bug] ORM will perform extra effort to determine that an FK dependency between two tables is not significant during flush if the tables are related via joined inheritance and the FK dependency is not part of the inherit_condition, saves the user a use_alter directive. [ticket:2527]
Mike Bayer
add section on replacing result_processor()/bind_processor()
Mike Bayer
2.3 is a distant memory
Mike Bayer
rework imports here
Mike Bayer
except the example was wrong.
Branches
rel_0_7
Mike Bayer
except the example was wrong.
Mike Bayer
- add a nice example about begin_nested as context manager.
Branches
rel_0_7
Mike Bayer
- add a nice example about begin_nested as context manager.
Mike Bayer
- this is now ported to 0.7.9
Mike Bayer
- using sublime, so there's mass trailing whitespace removal - port from 0.8: Fixed bug whereby a disconnect detect + dispose that occurs when the QueuePool has threads waiting for connections would leave those threads waiting for the duration of the timeout on the old pool (or indefinitely if timeout was disabled). The fix now notifies those waiters with a special exception case and has them move onto the new pool. [ticket:2522]
Branches
rel_0_7
  1. Prev
  2. Next