Re: [Modeling-users] Couple of questions...
Status: Abandoned
Brought to you by:
sbigaret
|
From: Sebastien B. <sbi...@us...> - 2004-04-27 19:08:33
|
John Lenton <jo...@vi...> wrote:
> agreed, and I think I pointed out (I know I tried to point out) the
> second one of these. However the first is what I understood was being
> requested.
Seems like I misunderstood your post, sorry
> The way I think I'd *like* to solve the second one is along the lines of
>=20
> ec.fetch('Writer.books.publisher', unique=3DTrue)
>=20
> or, perhaps (if something sensible can be found to fill in the
> ellipsis),
>=20
> ec.fetch('Writer.books.publisher', groupBy=3D'...')
>=20
>=20
> The first could be ameliorated by having fetch return an iterator
> instead of a list...
[+ more on "smarter lists", such as algebra sets]
Interesting idea indeed, I'm afraid i've not enough time to comment on this
now though. Should I forget about it, you can recall me of your comments in=
a
week when I'll be back online. Even if it sounds like dropping support for
py2.1 (not sure however), it seems bright enough to be worth the
investigation ;)
[do not misunderstannd me here, I do not plan to drop support for
py2.1 by now]
> References:
> 1) http://www.cs.sfu.ca/CC/354/zaiane/material/notes/Chapter3/node7.html
Still did not find the time or energy :) to look at the reference, but I
promise we'll discuss this deeper.
-- S=E9bastien.
|