Show
Ignore:
Timestamp:
07/11/08 17:18:56 (4 years ago)
Author:
ged
Message:
  • Added support for callables for some arguments on relationships:
    primaryjoin, secondaryjoin and remote_side. It means those can be evaluated
    at setup time (when tables and their columns already exist) instead of
    definition time (closes #50).
  • Misc cleanup
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • elixir/trunk/tests/test_o2m.py

    r356 r362  
    108108 
    109109    def test_viewonly(self): 
    110         # the callable primaryjoin seem to be unstable... sometime it works, 
    111         # sometime it doesn't... for no apparent reason. I think it's a bug in 
    112         # the current revision of SQLAlchemy I'm using (4900). 
    113110        class User(Entity): 
    114111            two_blurbs = OneToMany('Blurb', primaryjoin=lambda: