others not propagating correctly when used in
backref().
- Can now use a custom "inherit_condition" in
__mapper_args__ when using declarative.
+ - fixed string-based "remote_side", "order_by" and
+ others not propagating correctly when used in
+ backref().
+
0.5.0rc3
========
- features
setattr(prop, attr, resolve_arg(v))
if prop.backref:
- for attr in ('primaryjoin', 'secondaryjoin'):
+ for attr in ('primaryjoin', 'secondaryjoin', 'secondary', '_foreign_keys', 'remote_side', 'order_by'):
if attr in prop.backref.kwargs and isinstance(prop.backref.kwargs[attr], basestring):
prop.backref.kwargs[attr] = resolve_arg(prop.backref.kwargs[attr])
self.local_remote_pairs = eq_pairs
elif self.remote_side:
raise sa_exc.ArgumentError("remote_side argument is redundant against more detailed _local_remote_side argument.")
-
+
for l, r in self.local_remote_pairs:
if self.direction is ONETOMANY and not self._col_is_part_of_mappings(l):