root / elixir / trunk / elixir / entity.py

Revision Log Mode:


Legend:

Added
Modified
Copied or renamed
Rev Chgset Date Author Log Message
(edit) @534 [534] 16 months ged - Fixed bad foreign key constraint generated for classes inheriting from …
(edit) @532 [532] 21 months ged cosmetic change
(edit) @531 [531] 21 months ged add some comments, FIXME, etc…
(edit) @521 [521] 2 years ged add FIXME
(edit) @514 [514] 3 years ged remove obsolete comment
(edit) @513 [513] 3 years ged - do not leak options_defaults from a subclass into a parent class - do …
(edit) @512 [512] 3 years ged - allows abstract classes to set default options - allow mixed type …
(edit) @511 [511] 3 years ged - Entities can now be declared "abstract" so that they do not create a …
(edit) @510 [510] 3 years ged - Fixed having relationships in custom base classes (based on patch by …
(edit) @509 [509] 3 years ged don't modify entity in EntityDescriptor.init
(edit) @508 [508] 3 years ged use public accessor introduced in SA 0.5
(edit) @507 [507] 3 years ged even more properties... doh!
(edit) @505 [505] 3 years ged - using_options_defaults and using_table_options statements can be used …
(edit) @504 [504] 3 years ged - Fixed custom bases classes and versioned extension when used with zope …
(edit) @500 [500] 3 years ged one more old-style decorator busted
(edit) @497 [497] 3 years ged more cleanup after dropping py2.3/SA0.4
(edit) @490 [490] 3 years ged Dropped support for python 2.3, SQLAlchemy 0.4 and deprecated stuff from …
(edit) @480 [480] 3 years ged - Provide our own Session.mapper equivalent to avoid SQLAlchemy 0.5.5+ …
(edit) @466 [466] 3 years ged deprecate autosetup option
(edit) @463 [463] 3 years ged made Elixir work with SA's current trunk (future 0.6).
(edit) @448 [448] 3 years ged Fixed using to_dict with a ManyToOne relationship in the "deep" set and …
(edit) @443 [443] 3 years ged apply patch from "Secator" to fix py2.6 warnings
(edit) @433 [433] 3 years ged revert part of previous commit... SA can't possibly compute itself …
(edit) @432 [432] 3 years ged - added test for the with_polymorphic mapper argument (closes #79). - made …
(edit) @428 [428] 3 years ged implemented ManyToOne relationships to plain SA-mapped classes. OneToMany …
(edit) @425 [425] 3 years ged - Added workaround for an odd mod_python behavior (class.module
(edit) @422 [422] 3 years ged delete Elixir properties as late as possible (ie in setup phase), not …
(edit) @421 [421] 3 years ged - moved all relationship options to explicit kwargs, instead of doing …
(edit) @420 [420] 3 years ged only inspect methods (fixes previous commit)
(edit) @419 [419] 3 years ged - Fixed event methods not being called when they are defined on a parent …
(edit) @417 [417] 3 years ged slightly improved documentation & exception message …
(edit) @403 [403] 4 years ged - Moved all methods of the "Entity" base class, to the "EntityBase" class, …
(edit) @400 [400] 4 years ged - Added a new statement 'using_options_defaults' which can be used on a …
(edit) @381 [381] 4 years ged add TODO
(edit) @379 [379] 4 years ged i don't like loop bodies on the same line as the loops themselves :)
(edit) @378 [378] 4 years cleverdevil Resolved duplication in Entity.set and Entity.__init__ by having the …
(edit) @367 [367] 4 years cleverdevil The constructor for Entity no longer called from_dict as it can lead …
(edit) @363 [363] 4 years ged - Default "target entity resolving code" changed slightly. It now uses a …
(edit) @360 [360] 4 years ged - cleanup "copy properties from base class" implementation (closes #15) - …
(edit) @356 [356] 4 years ged - better support for viewonly relationships - restore flush method on …
(edit) @350 [350] 4 years ged - added add_mapper_property and add_table_column helper method in …
(edit) @349 [349] 4 years ged - The default session (elixir.session) uses sessionmaker() instead of …
(edit) @348 [348] 4 years ged First stab at making fields in base class work (see ticket #15). Needs …
(edit) @347 [347] 4 years ged removed trailing spaces
(edit) @343 [343] 4 years ged Some cleanup to the target/collection stuff... Still need some work to get …
(edit) @342 [342] 4 years ged - remove deprecated methods on Entity - pulled entity mapping and target …
(edit) @338 [338] 4 years ged * Added setattr method on Metaclass so that you can add properties …
(edit) @337 [337] 4 years ged fix to_dict on SA 0.5
(edit) @336 [336] 4 years ged update Elixir to work with SA0.5
(edit) @335 [335] 4 years cleverdevil The to_dict method on Entity was not looking for columns in the case …
(edit) @333 [333] 4 years cleverdevil Changed the way that the elixir.entities mapping is created, at Gaetan's …
(edit) @331 [331] 4 years ged fix from_dict on list relationships (patch from Paul Johnston)
(edit) @327 [327] 4 years ged - Fixed inheritance with autoloaded entities: when using autoload, we …
(edit) @324 [324] 4 years ged - use with_polymorphic mapper argument to implement polymorphic concrete …
(edit) @323 [323] 4 years ged - Added experimental (!) support for concrete table inheritance (both …
(edit) @322 [322] 4 years ged - Added two new methods on the base entity: from_dict and to_dict, which …
(edit) @321 [321] 4 years ged Fixed several problems with concrete inheritance and …
(edit) @318 [318] 4 years ged Fixed multi-table inheritance when using a non default schema (closes #38)
(edit) @308 [308] 4 years ged Nth take at making Elixir python2.3 compatible
(edit) @307 [307] 4 years ged - Made Elixir python 2.3 compatible again (based on a patch from Jason …
(edit) @302 [302] 4 years ged - Fixed the inverse relationship matching when the inverse relationship is …
(edit) @300 [300] 4 years ged The foreign key constraint of the column in a multi-table inheritance …
(edit) @299 [299] 4 years ged - moved the format of the multi-table inheritance column to a constant in …
(edit) @295 [295] 4 years ged - applied part of a patch from Ben Bangert so that passing …
(edit) @285 [285] 4 years ged minor rename to make event processing code more readable
(edit) @284 [284] 4 years ged - added support for custom base classes which inherit from another class …
(edit) @279 [279] 4 years ged - make inheritance work for custom base classes (closes #25). - remove …
(edit) @275 [275] 4 years ged - polymorphic defaults to True ! (Mickael Bayer convinced me that …
(edit) @268 [268] 5 years ged allow overriding primary_key columns on autoloaded entities (closes …
(edit) @267 [267] 5 years ged - cleanup class attributes (in the attributes-based syntax) after the …
(edit) @265 [265] 5 years ged - moved some format strings to constants in options - added set method on …
(edit) @262 [262] 5 years cleverdevil There is a conflict between zope.interface and elixir that causes using …
(edit) @249 [249] 5 years ged implemented new option: allowcoloverride
(edit) @247 [247] 5 years ged revert that innocent-looking change from r244 which broke inheritance
(edit) @244 [244] 5 years ged - added some comments/fixed some other comments - made trigger test …
(edit) @243 [243] 5 years ged - added test for deferred fields courtesy of Isaac Csandl - tweaked setup …
(edit) @238 [238] 5 years ged - added support for synonym properties (on Field) - updated TODO
(edit) @236 [236] 5 years ged - migrate to attribute-based syntax in all examples and documentation. - …
(edit) @224 [224] 5 years ged we are moving from pudge to apydia: find -name "*.py" -exec sed -i …
(edit) @223 [223] 5 years ged enable syntax hilighting for python code in docstrings
(edit) @222 [222] 5 years ged - fixed some pretty bad bugs: * calling cleanup_all before your …
(edit) @221 [221] 5 years ged - added the possibility to not have the autosetup triggers installer (use …
(edit) @219 [219] 5 years ged Fail explicitely if something go wrong when mapping a class. This should …
(edit) @216 [216] 5 years ged added query to the attributes triggering the setup_all call
(edit) @214 [214] 5 years ged next try
(edit) @213 [213] 5 years ged Fix missing import + now event handlers can stop further processing …
(edit) @212 [212] 5 years ged - made events methods compatible with using other extensions (namely …
(edit) @210 [210] 5 years ged - moved away from assign_mapper, now all assign_mapper-provided methods …
(edit) @209 [209] 5 years ged Fix get method
(edit) @204 [204] 5 years ged - added get class method on Entity. - partly …
(edit) @202 [202] 5 years ged - plugged a couple deprecated warnings with SA 0.4, but making sure that …
(edit) @199 [199] 5 years ged - Added test for the case when you refer to a remotely-defined class by …
(edit) @197 [197] 5 years ged more frame hackery so that one can use a class from another module in a …
(edit) @196 [196] 5 years ged - updated TODO file - (partially) changelogged what was done recently. …
(edit) @185 [185] 5 years cleverdevil Patch from Mike Bayer: The attached patch modifies Elixir's …
(edit) @183 [183] 5 years ged added more statement hooks: before_table, before_mapper, …
(edit) @175 [175] 5 years ged merged autodelay branch!
(edit) @170 [170] 5 years cleverdevil First part of moving events into the core of elixir. Next, I will be …
(edit) @169 [169] 5 years cleverdevil Added a method to EntityDescriptor for adding mapper extensions. Updated …
(edit) @164 [164] 5 years cleverdevil Added some hooks to allow Elixir statements to perform some post-setup …
Note: See TracRevisionLog for help on using the revision log.