And really if I could just plug in the argument for the foo_props call, at least in this case it would remove the need for the foreign key altogether as the join is really handled by the semantics of the foo_props call, which happens to only return the one related row.
I suppose this could all be done with a class Foo(object): @property def props(self): self._props = query( selectable .. ).one() but this would require the extra fetch. -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalch...@googlegroups.com. To unsubscribe from this group, send email to sqlalchemy+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en.