Charles Duffy wrote:

> Given all the great support I've received here, I'm more than glad to
> try my hand at a patch -- but not tonight; I'm 2.5hrs past my bedtime
> already.

Great to hear!

> Hmm. For per-relation settings, it looks extremely
> straightforward: Add some new members to the relationship class,
> and allow them to be assigned from the relevant constructors;
> then, when all the relation objects are being instantiated in
> process_relationships(), I just pass in the extra members; nothing to
> it.

You're right, this should actually work great.

> I don't think I understand the impediment here -- it looks to me like
> extra keyword arguments can be passed through to assign_mapper()
> and will from there make it into the constructor for the mapper
> itself. What am I missing?

At some point I think I had troubles passing extra arguments through
to assign_mapper(), but YMMV.  Its been a long time since I tried this
I expect it might actually work now ;)

--
Jonathan LaCour
http://cleverdevil.org




_______________________________________________
Sqlalchemy-users mailing list
Sqlalchemy-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users

Reply via email to